[Pkg-samba-maint] Bug#522388: Bug#522388: mount.cifs and samba copy/dirs permissions error

Christian Perrier bubulle at debian.org
Fri Apr 3 18:37:06 UTC 2009


Quoting Pol Hallen (polhallen at fuckaround.org):

> 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 :-)
> 
> cp -rv /home/user0/10filesdir /home/user0/upload/
> cp: cannot create regular file [...] access denied. [...] for all files

If 10filesdir created on the target?

If it is what are its permissions?

Does somethign show up on the server's logfile?

What happens when you "mkdir" 10files dir on the target, *then* try to
"cp" the individual files in it?

> 
> Thus: ONLY if I copy a dir with several files inside it born a copy error!
> Because seems that the permission (server side) are correctly, but I don't understand the problem :-/


I really fail to see how this could come from mount.cifs ot, on the
other side, samba.

There is certainly something weird somewhere because, of course, I
can't reproduce this bug (on a lenny server mounting its own resource).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090403/d8d9b064/attachment.pgp 


More information about the Pkg-samba-maint mailing list