http://bugzilla.opensuse.org/show_bug.cgi?id=1091442 Bug ID: 1091442 Summary: Can not properly use SUSE Samba-Share as lowerdir for an overlay Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: hiwatari.seiji@gmail.com QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- When openSUSE Tumbleweed is used to host a samba share, and that share is used as lowerdir for a overlay filesystem - files in the lowerdir can not be modified - no matter the user (even root). Creating new files that do not exist in the lowerdir works as expected. Here are the steps to reproduce. For a very simple setup, we installed a new virtual machine with openSUSE Tumbleweed and tested soleily on that. The original setup consisted of multiple machines, which didn't work either. All following commands are done as user root. 1. create samba share (with yast2, everything else on default settings) resulting in: [BASE] inherit acls = yes path = /mnt/base read only = No force group = users force user = testuser guest ok = Yes 2. create file in samba share: echo "foo" > /mnt/base/foo.txt 3. mount samba share: mkdir /tmp/lower mount //localhost/BASE -ouid=1000,gid=1000,guest /tmp/lower 4. create overlay fs: mkdir /tmp/{upper,work,overlay} mount -t overlay overlay -olowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/work /tmp/overlay 5. try to modify foo.txt in /tmp/overlay nano foo.txt
[File 'foo.txt' is unwriteable ] <<
Even user root does not have the ability to modify (overwrite) a file from the lowerdir into the upperdir, so this does not seem to be a permission problem. Creating new files works just fine. We tested a couple of combinations: - Gentoo server hosting the share, gentoo system mounting the share - works - suse server hosting the share, gentoo system mounting the share - doesn't work - Gentoo server hosting the share, suse client mounting the share - works - suse server hosting the share, suse client mounting the share - doesn't work So this seems to be a samba problem in openSUSE. -- You are receiving this mail because: You are on the CC list for the bug.