[opensuse] How do I change my dvd writer permissions?
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
$ ll /dev/sr0 brw-rw----+ 1 root disk 11, 0 2008-05-22 08:55 /dev/sr0 So user has to be in group disk. (But I can remember that it was cdrom before :)) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, May 22, 2008 at 03:45:35PM +0200, Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
$ ll /dev/sr0 brw-rw----+ 1 root disk 11, 0 2008-05-22 08:55 /dev/sr0
So user has to be in group disk. (But I can remember that it was cdrom before :))
No, he does not need to be. See the "+"? Is an ACL for this device handed out by our resmgr framework. Run "getfacl /dev/sr0" to see its content. This will work automatically if you login via gdm or kdm. If it does not have the ACLs for you, something is amiss, please open a bugreport. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner wrote:
No, he does not need to be.
Ah I see. But still "cdrom" is the wrong group and "disk" should be used when one wants to hard-define the writing access. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-22 at 15:50 +0200, Marcus Meissner wrote:
$ ll /dev/sr0 brw-rw----+ 1 root disk 11, 0 2008-05-22 08:55 /dev/sr0
So user has to be in group disk. (But I can remember that it was cdrom before :))
No, he does not need to be.
See the "+"? Is an ACL for this device handed out by our resmgr framework.
Run "getfacl /dev/sr0" to see its content.
This is very interesting. Is it documented somewhere?
This will work automatically if you login via gdm or kdm.
I take it that it might not work if one uses xdm or wdm? I know that powermanagement doesn't (so resulted from a bugzilla I opened). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINX3stTMYHG2NR9URAtmIAJ47PuhXAqY/O9nJoaQlF8XnN+eoQwCffWLp 9qHGSfE1xtqWiBXcl2+bUeE= =/OWD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
"Carlos E. R." <robin.listas@telefonica.net> writes:
I take it that it might not work if one uses xdm or wdm? I know that powermanagement doesn't (so resulted from a bugzilla I opened).
This is actually done through PAM. Make sure: ,---- | session required pam_resmgr.so `---- is in your /etc/pam.d/xdm (I have /etc/pam.d/wdm symlinked to /etc/pam.d/xdm). I have used wdm (before that xdm) for a number of years with no problems with permission. Charles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-22 at 10:22 -0400, Charles philip Chan wrote:
"Carlos E. R." <> writes:
I take it that it might not work if one uses xdm or wdm? I know that powermanagement doesn't (so resulted from a bugzilla I opened).
This is actually done through PAM. Make sure:
,---- | session required pam_resmgr.so `----
It is.
is in your /etc/pam.d/xdm (I have /etc/pam.d/wdm symlinked to /etc/pam.d/xdm). I have used wdm (before that xdm) for a number of years with no problems with permission.
Try to hibernate your computer by clicking on the applet or touching the hibernate button. The current wdm in 10.3 doesn't allow it (Bugzilla 341605, comment #24, no console kit support). I did not try xdm. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINcOdtTMYHG2NR9URAnmfAJ4/zomCTvhrFD4k9J1nANg1O/6anQCeKSqK O/RwlZMu63g7eZ9pVoLDQpg= =X+Sc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner wrote:
On Thu, May 22, 2008 at 03:45:35PM +0200, Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
So user has to be in group disk. (But I can remember that it was cdrom before :))
No, he does not need to be.
See the "+"? Is an ACL for this device handed out by our resmgr framework.
Run "getfacl /dev/sr0" to see its content.
This will work automatically if you login via gdm or kdm.
If it does not have the ACLs for you, something is amiss, please open a bugreport.
Ciao, Marcus This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- group::r-- other::---
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do. Learning all the time and getting used to the linux way. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner wrote:
On Thu, May 22, 2008 at 03:45:35PM +0200, Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
So user has to be in group disk. (But I can remember that it was cdrom before :))
No, he does not need to be.
See the "+"? Is an ACL for this device handed out by our resmgr framework.
Run "getfacl /dev/sr0" to see its content.
This will work automatically if you login via gdm or kdm.
If it does not have the ACLs for you, something is amiss, please open a bugreport.
Ciao, Marcus This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- group::r-- other::---
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do. Learning all the time and getting used to the linux way. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, May 22, 2008 at 04:17:34PM +0200, Dave Plater wrote:
Marcus Meissner wrote:
On Thu, May 22, 2008 at 03:45:35PM +0200, Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
So user has to be in group disk. (But I can remember that it was cdrom before :))
No, he does not need to be.
See the "+"? Is an ACL for this device handed out by our resmgr framework.
Run "getfacl /dev/sr0" to see its content.
This will work automatically if you login via gdm or kdm.
If it does not have the ACLs for you, something is amiss, please open a bugreport.
Ciao, Marcus This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- group::r-- other::---
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do.
No, it should be: # file: dev/sr0 # owner: <YOUR USERNAME> # group: disk user::rw- group::r-- other::--- How did you login? I hope as "YOUR USERNAME" ;) Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner pecked at the keyboard and wrote:
On Thu, May 22, 2008 at 04:17:34PM +0200, Dave Plater wrote:
Marcus Meissner wrote:
On Thu, May 22, 2008 at 03:45:35PM +0200, Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P So user has to be in group disk. (But I can remember that it was cdrom before :)) No, he does not need to be.
See the "+"? Is an ACL for this device handed out by our resmgr framework.
Run "getfacl /dev/sr0" to see its content.
This will work automatically if you login via gdm or kdm.
If it does not have the ACLs for you, something is amiss, please open a bugreport.
Ciao, Marcus This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- group::r-- other::---
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do.
No, it should be:
# file: dev/sr0 # owner: <YOUR USERNAME> # group: disk user::rw- group::r-- other::---
How did you login? I hope as "YOUR USERNAME" ;)
Ciao, Marcus
On my system it is: ken@pc5:~> getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- user:ken:rw- group::r-- mask::rw- other::--- So it looks like the the setting should be in the "user" for access. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do.
No, it should be:
# file: dev/sr0 # owner: <YOUR USERNAME> # group: disk user::rw- group::r-- other::---
How did you login? I hope as "YOUR USERNAME" ;)
Ciao, Marcus
Ok this is the output from user console :- davepl@Arbuthnot:~> getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- user:davepl:rw- group::r-- mask::rw- other::--- And tis is after I changed device permissions back to how they were when I had the problem:- davepl@Arbuthnot:~> getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- user:davepl:rw- #effective:r-- group::r-- mask::r-- other::--- Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-22 at 16:17 +0200, Dave Plater wrote:
I assume the "group::r--" part is the reason for my problem. Thanks for the help, I used konqueror to change the group permissions for sr0 and sg1 and now k3b no longer complains. I don't know what changed the permissions yet but I will file a bug when I do.
No, if I remember correctly those changes will be undone when you log in again. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINcRZtTMYHG2NR9URAsXXAJ9kC4+/TOjjm8aBgLX/AYtJq9RFtwCfbl+K 8NR2HC13lalp0Tt9d3ATJrI= =09P5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-05-22 at 16:17 +0200, Dave Plater wrote:
This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root
This ······^^^^^ is your problem: it appears you are root. How did you log in? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINcTWtTMYHG2NR9URApaIAKCSA+GHs/ZQI4td8N/9837UMnWwfQCfaTjY uA5LooAmfzr/r01kTGpt8T4= =D+OP -----END PGP SIGNATURE-----
Carlos E. R. wrote:
The Thursday 2008-05-22 at 16:17 +0200, Dave Plater wrote:
This is the output from getfacl :- Arbuthnot:/home # getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root
This ······^^^^^ is your problem: it appears you are root. How did you log in?
-- Cheers, Carlos E. R.
I did that one from a root console, this is the user one after I changed permissions and k3b started working properly again. They stay after reboot, I think some package update must have changed them at some stage. davepl@Arbuthnot:~/.wine/drive_c> getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: disk user::rw- user:davepl:rw- group::r-- mask::rw- other::--- Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Pavol Rusnak wrote:
Dave Plater wrote:
Hi, somewhere along the line my permissions on my dvd writer got screwed up and now I have to burn as root. Can anybody put me on the right track to restore user write permissions? User is a member of cdrom. Thanks in advance Dave P
$ ll /dev/sr0 brw-rw----+ 1 root disk 11, 0 2008-05-22 08:55 /dev/sr0
So user has to be in group disk. (But I can remember that it was cdrom before :))
user is member of disk as well. I get the same output as you from ll /dev/sr0 Thanks Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Carlos E. R.
-
Charles philip Chan
-
Dave Plater
-
Dave Plater
-
Ken Schneider
-
Marcus Meissner
-
Pavol Rusnak