Bryan Murdock wrote:
The line in my /etc/fstab:

//windows/share /local/mount/point smbfs
username=<username>,workgroup=<workgroup>,uid=<username>,gid=<group>,noauto,user 0 0

I can mount this as user, but I have to login as root to umount it.  How
do I make it user umount-able?

Hmm... this might work, although the other solutions might be better.

Use the word "users" instead of "user". (Note the change in plural from singular form of 'user').

I got this from
********************************************************
#man mount
<snip manpage>
For more details, see fstab(5). Only the user that mounted a filesystem can unmount it again.


If any user should be able to unmount, then use users instead of user in the fstab line.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device.
<end snip>
**********************************************************
HTH,


--
Harshwardhan Nagaonkar
Electrical Engineering Sysop
Brigham Young University, UT-84602


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to