The Samba-Bugzilla – Bug 6909
Cannot mount Samba shares as ordinary user, works as root.
Last modified: 2009-11-19 22:16:40 UTC
I cannot mount Samba shares from the terminal as ordinary user. I have the "user" option set in fstab. The command
error -1 (Unknown error 4294967295) opening credential file /etc/samba/auth.userver.moral
The permissions for the credential file are:
-rw-r----- 1 root root
While the permissions for mount and mount.cifs3 are:
-rwsr-xr-x 1 root root 97016 2009-03-17 08:32 /bin/mount
-rwsr-xr-x 1 root root 30900 2009-11-13 19:24 /bin/mount.cifs3
Mounting as root works with no problem so it seems the system is not recognizing that mount as ordinary user should be able to read the credential file. This was working for users some months ago. I hadn't tried it for some weeks before discovering the problem so I'm not sure if an update might have caused it. I am running Mandriva 2009.1 with the Samba packages being 3.3.9-0.2.