Steve Langasek wrote:
> No, they are not.  User mounts are a well-established concept, and
> smbmnt behaves inconsistently with respect to them.

I agree that the case you showed is broken.  In that case, root has 
implicitly granted fiddling permission in the given directory through 
the fstab entry, so no more checks should be required.  When running 
smbmount from the shell, however, there has got to be some check or 
else you could overwrite any directory whatsoever.  I don't know of any 
precedent how that sort of thing should be handled.  I think that the 
owner check should be enough, though.  Maybe the permission mode check 
should just be removed?  Any other ideas how to handle this (modulo the 
ever-popular opinion of not making the binaries setuid :) ) ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to