Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GRAVER] gnomebaker (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Tue Jun 20, 2006 3:06 pm    Post subject: [GRAVER] gnomebaker (resolu) Reply with quote

Bonjour,
J'ai installe gnomebaker et je n'arrive pas a graver et effacer un cdrw.
J'ai ajoute le groupe cdrw a mon utilisateur mais ca ne change rien.
Sous root avec cdrecord, ca fonctionne. Que faut-il faire en plus ?

Code:
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hda'
devname: '/dev/hda'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W1210A'
Revision       : '1.09'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x0008
Profile: 0x0009
Profile: 0x000A (current)


Last edited by mcsky2 on Wed Jun 21, 2006 9:00 am; edited 1 time in total
Back to top
View user's profile Send private message
GaMeS
Guru
Guru


Joined: 08 Nov 2005
Posts: 374
Location: Nantes

PostPosted: Tue Jun 20, 2006 9:05 pm    Post subject: Reply with quote

heu cela a peut être rien avoir mais dans ton fstab ton /dev/hda a bien les droits users et rw ?
_________________
$this->setLife(FALSE);
printf "I'm not a gamer !";
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Wed Jun 21, 2006 8:18 am    Post subject: Reply with quote

J'ai change mon fstab comme ceci :
/dev/cdrw /mnt/cdrom iso9660 rw 0 0
et mon cdrw a ceci comme droit :
5617 brw-rw---- 1 root cdrom 3, 0 fev 14 01:03 hda

Mais n'est ce pas udev qui defini les droits et le proprio/groupe sur le cdrw ?
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Wed Jun 21, 2006 8:27 am    Post subject: Reply with quote

Il te faut le bit SUID sur cdrecord :
Code:
# chmod u+s /usr/bin/cdrecord

A moins qu'il y ai une méthode plus sécurisée maintenant, ça ne marche que comme ça chez moi, et sinon de toute façon k3b rale ...


Last edited by geekounet on Wed Jun 21, 2006 10:36 am; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Wed Jun 21, 2006 8:30 am    Post subject: Reply with quote

Salut,

Régulièrement, en fait à chaque mise à jour de k3b ou d'une dépendance, k3b me prévient que les droits ont changés sur certains programmes cruciaux, et me conseille de vérifier. Et çà donne ceci :
Code:

$ ls -l $(which growisofs)
-rws--x--x 1 root root 71884 jun  3 02:50 /usr/bin/growisofs

$ ls -l $(which cdrecord)
-rws--x--x 1 root root 350744 jun  7 19:25 /usr/bin/cdrecord

$ ls -l $(which cdrdao)
-rws--x--x 1 root root 693597 jun  3 22:14 /usr/bin/cdrdao


Edit: grilled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum