Public bug reported:
Binary package hint: smbfs
I have been testing cifs due to current smb issues with large files (see
bug #38886) and I have stumbled across a number strange behaviors. Most
of them are related to access right issues.
I am using Ubuntu 6.10 (edgy), kernel 2.6.17-10-generic, and samba
3.0.22.
I mounted a Western Digital Netcenter NAS drive (which for testing purpose has
been set to allow anyone to do anything) using the following command:
sudo mount -t cifs "//wd-netcenter/Shared Files" nas -o
guest,file_mode=0777,dir_mode=0777
I used this command for the mount as there are problems with uid/gid
(see for example #48418).
Now if it try to copy small files it works fine but as soon as I try bigger
files (anything that takes more than 5 seconds to copy) I get:
Error "Access denied" while copying XYZ
Also if I try to touch a file (on the mounted drive) I get the following error:
touch: setting times of `toto': Permission denied
But still the funny thing is that the file still gets created!!
Now, if I do the same command with sudo then the 'touch' works fine and
with no errors.
Lastly, when I do a 'ls -l' all the files on the NAS shows with
uid=35000 and gid=42000 so I suspect it is probably related but that's
why I used 'file_mode=0777,dir_mode=0777' in the mount command (I would
have prefered to force the uid/gid to be set but as indicated ealier
this does not seem to work very well either).
** Affects: samba (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
various access right issues with cifs
https://launchpad.net/bugs/74427
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs