re-post: problems umounting samba shares

Trevor "TeC" Christian trevor at bouyon.dalive.com
Mon Apr 4 11:06:12 UTC 2005


Paul Howarth wrote:

> Trevor "TeC" Christian wrote:
>
>>>> umount: only root can unmount //192.168.100.1/public from 
>>>> /mnt/smb/public
>>>>
>>>> Question though, I can mount the share as a user.  How can i umount 
>>>> it?
>>>>   
>>>
>>>
>>>
>>> Unmount it as root this time. Then, after mounting it as a regular 
>>> user,
>>> try unmounting it as the same user.
>>>
>>> Paul.
>>>  
>>>
>> Same thing.
>> For a user to be able to mount smbfs...i had to chmod u+s `which  
>> smbmnt`.
>> Would i need to do something similar to allow non-root users to umount?
>
>
> Do:
> # chmod u+s /usr/bin/smbumount
> and use "smbumount" to unmount your shares.
>
> Paul.
>
That works, thanks.

Am I to understand that as a regular user i will not be able to use 
umount to unmount a samba share?

This creates a little bit of a problem with regards to the use of the 
GUI for mounting and umounting devices.  Right clicking on a device on 
the desktop and selecting unmount seems to use the umount command which 
only allows works for root.

-- 
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
   MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
   YM : trevorc01
   AIM: DoubleOTeC
------------------------------------------------------------------------
Curriculum Vitae (PDF) <http://bouyon.dalive.com/cv/curriculum_vitae.pdf>
Curriculum Vitae (HTML) <http://bouyon.dalive.com/cv/curriculum_vitae.html>




More information about the fedora-list mailing list