El Domingo 20 Febrero 2005 06:47 escribiste:
> > umount manpage says that /sbin/umount.<filesystem> will be used, but
> > either it is not true, or another previous problem happens that prevents
> > umount.smbfs to be used.
>
> If you depend on smbmount's suid bit to mount a share, you will not be able
> to unmount it using umount -- only using smbumount.  Because umount is
> itself suid, it must implement its own security checks before turning over
> control to the per-fstype helper program, so only shares mounted as
> standard user mounts can be unmounted this way.

Hi, /etc/fstab :
//mizar/cemariz$ /mnt/upv smbfs 
defaults,user,noauto,username=cemariz,workgroup=ALUMNO,ip=mizar.cc.upv.es 0 0


Then:
$ mount /mnt/upv
Password:
$

(it's correctly mounted, as normal user, using mount, not smbmount).

Then:

$ umount /mnt/upv
umount: only root can unmount //mizar/cemariz$ from /mnt/upv


You say that umount implement its own security check.
I think umount is making a wrong security check, my user should be allowed to 
umount it. As I told before, I think the bug should be reassigned to mount 
package.

Thanks!

  Cesar



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

Reply via email to