Re: Failures with cdrecord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"               -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux