On Fri, 2002-02-08 at 04:22, RA wrote:
> 
> smbmount is working for user, 
> but not smbumount
> 
> $ smbumount /home/dfkljdjfdfj
> smbumount must be installed suid root
> $ rpm -V samba-client                                       
> $

This is due to wrong advice on my part... Apparently 'smbumount' must be
setuid root (makes no sense, since smbmount must NOT be setuid root,
even though it's claimed to be safe this way).

so chmod 4711 /usr/bin/smbumount
smbmount however remains in the state of : DO NOT SETUID ROOT IT : )

Also, correction in the spec file:
%attr(775,root,root) %{prefix}/bin/smbmount
%attr(775,root,root) %{prefix}/bin/smbumount
%attr(4775,root,root) %{prefix}/sbin/smbmnt
The latter is discussed above : )

They should be:
smbmount: 711
smbumount: 4711
smbmnt: 4711

(or a mode that doesn't grant group write privs)

                                                         
-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Winning gives birth to hostility. Losing, one lies down in pain. The
calmed 
lie down with ease, having set winning & losing aside."
Dhp. 201


Reply via email to