How to get LinNeighborhood working?

dare2dreamer ulist at gs1.ubuntuforums.org
Mon Dec 13 08:07:33 UTC 2004


Always remember, Google is your friend.

http://www.bnro.de/~schmidjo/faq/#faq9

>  Smbmnt must be installed setuid root
> This error occurs if you want to mount any smb share as user without
> root rights. You must set the setuid root bit on your executables
> 'smbmnt' and 'smbumount'.
> Do the following:
> 
> * login as root and change to the directory where this tools
> resides (/usr/bin ?)
> * do a 'ls -l smbmnt', you'll see something like -rwxr-xr-x
> * invoke 'chmod +s smbmnt', after that you'll see something like
> -rwsr-xr-x
> * do the same with smbumount 
> 
> The tools will now be executed with the rights of the tool's owner, in
> this case root and you should be able to use this tools as normal
> user.
> 
> Note: Don't set smbmount to setuid root, smbmnt is quite enough.

The bigger issue is apparently there is a bug in the smbfs in ubuntu
that makes it mount a share with the server's permissions, which will
cause problems if you have any even remotely complicated smb.conf
magickry in place.


-- 
dare2dreamer




More information about the ubuntu-users mailing list