[Pkg-samba-maint] DO NOT REPLY [Bug 6287] mount.cifs and samba copy/dirs permissions error

samba-bugs at samba.org samba-bugs at samba.org
Wed Oct 6 11:26:21 UTC 2010


https://bugzilla.samba.org/show_bug.cgi?id=6287





------- Comment #5 from pietro.donatini at unibo.it  2010-10-06 06:26 CST -------
(In reply to comment #1)

> mkdir /home/user0/upload/tmpdir0
> touch /home/user0/upload/tmpdir0/tmpfile0
> touch /home/user0/upload/tmpfile1
> 
> ls -la /home/user0/upload
> 
> drwxr-xr-x 2 user0 user0       0 2009-04-03 12:29 tmpdir0
> -rwxr--r-- 1 user0 user0       2 2009-04-03 12:32 tmpfile0
> 
> -rw-r--r-- 1 user0 user0       1 2009-04-03 12:35 tmpfile1
> 
> everything is ok :-)

I'm fighting the same bug on my lenny debian.

I'm not sure but I think that the test you made in three different
commands would fail with the one line shell command
mkdir /home/user0/upload/tmpdir0; touch /home/user0/upload/tmpdir0/tmpfile0;
touch /home/user0/upload/tmpfile1
since in this second case the thee commands are executed without pauses
between them.

If I have the mounted dir named 'upload' then
mkdir upload/pippo; mkdir upload/pippo/pluto
fails with 
mkdir: cannot create directory `upload/pippo/pluto': Permission denied
while 
mkdir upload/pippo; sleep 1; mkdir upload/pippo/pluto
does not fail.

Seems like the client create directory but setting the
permissions on server takes a little more time.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the Pkg-samba-maint mailing list