You are not logged in.
a part of my udev.permissions:
# optical devices
sr*:root:optical:660
scd*:root:optical:660
pcd*:root:optical:0660
cdrom*:root:optical:0660
dvd:root:optical:0660
rdvd:root:optical:0660
cdroms/*:root:optical:0660
# disk devices
hd*:root:disk:660
sd*:root:disk:660
dasd*:root:disk:660
ataraid*:root:disk:660
loop*:root:disk:660
md*:root:disk:660
ide/*/*/*/*/*:root:disk:660
discs/*/*:root:disk:660
loop/*:root:disk:660
md/*:root:disk:660
I have
disk::6:root,alex
optical::93:alex,hal
in /etc/group.
yet everytime the user alex tries to cdrecord, he gets:
$ cdrecord dev=/dev/hdc blank=fast
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (warly-scsi-linux-sg.c-1.83 '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer.
however the above command works for root.
:?
Offline
udev.permissions is history, do your changes to udev.rules or just add yourself to optical group.
greetings
tpowa
Offline
I deleted udev.permissions.
In udev.rules I have now:
# permissions for IDE CD devices
BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom*", NAME="%k", GROUP="optical"
and then
$ gpasswd -a alex optical
but I get the same error in cdrecord.
Offline
have you run pacman -Syu after install, if not please do this.
Offline
tpowa, is the objective to upgrade udev?
because if it is, I got this after pacman -Syu:
:: udev: local (071-4) appears to be newer than repo (current/068-4)
do you think it's worth to upgrade the other packages anyway?
Offline