Mailinglist Archive: opensuse-factory (175 mails)
| < Previous | Next > |
Re: [opensuse-factory] How to create write access to /dev/sr0 for K3B in 11.0.42?
- From: Jan Ritzerfeld <suse@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Jul 2008 17:41:43 +0200
- Message-id: <200807111741.43896.suse@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Am Freitag, 11. Juli 2008 schrieb Carlos E. R.:
You do not have to do anything like this at least since SuSE 8.2!
http://en.opensuse.org/SDB:8.2_Resource_Manager
Not anymore.
jan@karl:~> l /dev/sr0
brw-rw----+ 1 root disk 11, 0 11. Jul 2008 /dev/sr0
^ (ACL)
Some time ago, there was the file /etc/logindevperms that changed device
permissions (pam_devperm).
For the basic changes (owner, group, mode): udev.
For ACL (indicated by the '+'): hal/hal-resmgr.
jan@karl:~> getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: disk
user::rw-
user:jan:rw-
group::r--
mask::rw-
other::---
So, the owner is root, but the current desktop user (that's me) has read and
write access, too. This is at least true for 10.3 and I doubt that 11.0
reverted to the old way of granting access to devices.
Gruß
Jan
--
Humpty Dumpty was pushed.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
The Friday 2008-07-11 at 10:08 +0200, Oddball wrote:
It will only mount readonly.
mount tells me it is write protected, but i allready knew that from
K3B...
To access /dev/sr0 rw you have to change its permissions for the group,
or add your user to the group.
You do not have to do anything like this at least since SuSE 8.2!
http://en.opensuse.org/SDB:8.2_Resource_Manager
Normally the login process changes the
ownership of the device to the user owning the desktop,
Not anymore.
jan@karl:~> l /dev/sr0
brw-rw----+ 1 root disk 11, 0 11. Jul 2008 /dev/sr0
^ (ACL)
Some time ago, there was the file /etc/logindevperms that changed device
permissions (pam_devperm).
but I don't know
exactly who is responsible for this change nowdays.
For the basic changes (owner, group, mode): udev.
For ACL (indicated by the '+'): hal/hal-resmgr.
jan@karl:~> getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: disk
user::rw-
user:jan:rw-
group::r--
mask::rw-
other::---
So, the owner is root, but the current desktop user (that's me) has read and
write access, too. This is at least true for 10.3 and I doubt that 11.0
reverted to the old way of granting access to devices.
Gruß
Jan
--
Humpty Dumpty was pushed.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |