On 23 May 2005, at 14:55, Brett Parker wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Green chris@areti.co.uk wrote:
I am using 'smbmount' to mount a Windows file system on a directory in $HOME on my Linux box. This works for a user if smbmount is SUID.
However I don't seem to be able to umount the file system except as root, it just says:- umount: /home/chris/win is not in the fstab (and you are not root)
The umount executable is alread SUID but this doesn't seem to help.
*WHISPER* - you know you used smbmount to mount it... take a look at the other smb* commands... there's one called "smbumount" ;)
I don't think that's actually the issue. Chris, you need to set up an entry in /etc/fstab for this with the option user which allows non-root users to mount and umount the share. Something like this:
//sambamachine/samba-share/ /mnt/samba smbfs user 0 0
Cheers
Dave
-- David Reynolds david@reynoldsfamily.org.uk