Open scsi read/write so we can eject IPod nano
Brought to you by:
tranter
I'm able to mount and unmount my iPod Nano as a
standard user user pmount/pumount, but I am unable to
eject it unless I am root or the eject binary is
setuid.
Attached is a patch that opens the device RDWR if
it's SCSI which allows us to send the eject command
as a standard user.
This enables me to successfully eject my iPod Nano
after use.
Tested against gentoo-sources-2.6.16-r3
Open device RDWR