Monday, March 1, 2010

fuck I'm stupid

Everything with my server has been absolutely awesome after switching to Arch Linux.  Except recently I noticed that I couldn't use the eject command to eject its DVD drive.  Every time I tried it would say it couldn't read from the device.  The temporary workaround was to chmod o+r /dev/sr0 before ejecting, but this would revert seemingly randomly.

I stumbled upon the incredibly stupidly simple solution while browsing Arch Linux's forums looking for something else entirely that I forget at this point.

/dev/sr0 has rw-rw---- for its permissions bits, owned by user root and group optical.  Somehow I had neglected to note the group permissions.  The fix was exactly that, stick my user into the optical group and then log out and back in for the change to take effect.

I feel so stupid.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.