Hi I'm using Debian woody. ii smbfs 2.2.3a-12.3 mount and umount commands for the smbfs... I want to mount a W2K share as user. Mount as root works fine. The entry in /etc/fstab looks like this: //NOTEBOOK/D /notebook/D: smbfs user,username=ernohl,noauto 0 3 If I try to mount: erno@flinker:~$ mount /notebook/D: Password: cannot mount on /notebook/D:: Operation not permitted smbmnt failed: 1 I'm sure the remote password is ok. But what is wrong? Thanks in advance Ruediger --
> I'm using Debian woody. > ii smbfs 2.2.3a-12.3 mount and umount commands for the smbfs... > I want to mount a W2K share as user. Mount as root works fine. > The entry in /etc/fstab looks like this: > //NOTEBOOK/D /notebook/D: smbfs user,username=ernohl,noauto 0 3 > If I try to mount: > erno@flinker:~$ mount /notebook/D: > Password: > cannot mount on /notebook/D:: Operation not permitted > smbmnt failed: 1Is smbmnt setuid?
Adam Williams wrote:> Is smbmnt setuid?-rwsr-xr-x 1 root root 430760 Apr 7 10:42 /usr/bin/smbmnt Regards Ruediger --
Ruediger Noack wrote:> erno@flinker:~$ mount /notebook/D: > Password: > cannot mount on /notebook/D:: Operation not permitted > smbmnt failed: 1From "man smbmnt": ------------------ snip ------------------ A setuid smbmnt will only allow mounts on directories owned by the user, and that ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the user has write permission on. ------------------ snip ------------------ Regards Ruediger --