Rick Stevens wrote:
On Fri, 2006-07-14 at 17:27 -0700, Paul Erickson wrote:
Janina Sajka wrote:
This is old news now, sorry. I've been away running an exhibit booth for
a few weeks at a convention.
I did want to tell you that I got this problem resolved. It turned out
to be the media, after all. So, I guess not all media on the store shelf
is acceptable.
Janina
Glad you got your problem sorted out, unfortunately that does not
address the problem where
cd's can be written as root, but not as user. I can put a disc in the
burner and have it fail to
write when I am logged in as a user, and then logout and back in as
root, and write the files
to the disc using Nautilus cd writing utility, without any difficulty...
Permissions, my friend, permissions. I'm willing to bet that the device
node in /dev (e.g. /dev/hdc) doesn't permit just anyone access to the
device.
You could edit /etc/udev/rules.d/50-udev.rules and modify a couple of
lines to change the permissions. Assuming it's an IDE drive, you can
change the lines:
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1",
PROGRAM=="check-cdrom.sh %k CD-R", SYMLINK+="cdwriter cdwriter-%k cdrw
cdrw-%k"
KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="check-cdrom.sh %k CD-R",
SYMLINK+="cdwriter cdwriter-%k cdrw cdrw-%k"
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1",
PROGRAM="check-cdrom.sh %k DVD-R", SYMLINK+="dvdwriter dvdwriter-%k
dvdrw dvdrw-%k"
KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="check-cdrom.sh %k DVD-R",
SYMLINK+="dvdwriter dvdwriter-%k dvdrw dvdrw-%k"
to read
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1",
PROGRAM=="check-cdrom.sh %k CD-R", SYMLINK+="cdwriter cdwriter-%k cdrw
cdrw-%k", MODE="0666"
KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="check-cdrom.sh %k CD-R",
SYMLINK+="cdwriter cdwriter-%k cdrw cdrw-%k", MODE="0666"
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1",
PROGRAM="check-cdrom.sh %k DVD-R", SYMLINK+="dvdwriter dvdwriter-%k
dvdrw dvdrw-%k", MODE="0666"
KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="check-cdrom.sh %k DVD-R",
SYMLINK+="dvdwriter dvdwriter-%k dvdrw dvdrw-%k", MODE="0666"
In other words, append
, MODE="0666"
to the end of each of those lines. When the devices are created, this
SHOULD set up the permissions to be 0666 (rw-rw-rw-) and therefore
writable by anyone. Whether this is a wise thing to do, I leave to your
discretion.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "Swap memory error: You lose your mind" -
----------------------------------------------------------------------
Hi Rick,
Thanks for the reply. I made the modifications you indicated, but still
no joy. Can write CD's fine as root,
but not as a user. Any other thoughts would be appreciated.
--
----------------------------------------------------------------
cheers, Paul - VA7NT - email: va7nt@xxxxxxxxx
"Those who hear not the music, think the dancers mad."
“Tolerance becomes a crime when applied to evil.” - Thomas Mann
"That state which separates it's warriors from it's scholars will have it's thinking done by cowards and fighting done by fools" - Thucydides - The Pelopenisia