Saturday, February 19, 2011

dvd device problem after upgrade to debian 6

After upgrading to debian 6[squeeze] (from debian 5 [lenny]), apparently my dvd device permissions changed, and I wasn't able to eject/write dvds. Whenever I tried to write a dvd, it would return something like this:

$ growisofs -dvd-compat -Z /dev/scd0=somefile.iso
:-( unable to open64("/dev/scd0",O_RDONLY): Permission denied

Well, the answer is pretty obvious though, just change the permissions to anyone can write to it.

$cd /dev
$ sudo chmod o+rw sr0


Edit:
Apparently wasn't that simple! chmoding it works well until you reboot, when /dev is recreated... looking on how to fix that.

No comments:

Post a Comment