[solved] User eject of SCSI device node

Michael A. Peters mpeters at mac.com
Tue Jan 18 01:52:02 UTC 2005


On 01/17/2005 10:11:56 AM, Michael A. Peters wrote:
> Firewire device.
> User can unmount device just fine, but user needs to be able to  
> eject, not just unmount.
> 
> When attempting to eject, user is told can't read /dev/sdb2
> 
> When root attempts to eject, it does eject - but with an invalid  
> arguement error.
> 
> When I try changing the permissions on /dev/sdb2 and ejecting as  
> user, user gets same error as root, but it does not actually eject.
> 
> Is there a way around this without suid bit?

added a line to sudoers file allowing users who I need to eject to be  
able to do so, with the explicit command to eject the device.

So its solved.





More information about the users mailing list