[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange umount behaviour



* Karl E. Jorgensen <karl@jorgensen.com> [2002-10-30 12:31]:
> 
> What are the permissions on /dev/cdrom (or more precisely: the device
> file that /dev/cdrom is a symlink to)?
> 
uccellina:~!132> ls -l /dev/hdc
brw-rw----    1 root     disk      22,   0 Mar 14  2002 /dev/hdc

> Do you have read/write permissions to it?
> 
Yeah, I do have:
uccellina:~!133> id -a
uid=9258(ruf) gid=111(private) groups=111(private),4(adm),6(disk)...

If I had not read/write permissions, I could not read the content of the 
cdrom.

However, were the mount/umount programs required to be set-uid'ed
root?  Or would this cause an extreme security hole?

Thanks,
-- 
Lukas Ruf
http://www.lpr.ch                                 http://www.maremma.ch    
    http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join rawip@rawip.org on www.rawip.org



Reply to: