Change permissions on /dev file?

Alexander Dalloz ad+lists at uni-x.org
Sat Jan 14 20:18:56 UTC 2006


Am Sa, den 14.01.2006 schrieb Toralf Lund um 20:58:

> How can I update permissions on a device file on an FC4 setup? I mean, I 
> know I can use chmod, of course, but the problem is that for /dev 
> special files, the changes are lost on reboot.
> 
> More specifically, I have a SCSI scanner, and I (obviously) want to 
> access it as a regular user, but by default /dev/sg* can be read and 
> written only by root. How do I change that? (And why don't devices like 
> this automatically get user accessible?)
> 
> - T

grep -n "sg" /etc/udev/permissions.d/50-udev.permissions

The permissions are set there.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 21:18:17 up 41 days, 1:55, load average: 0.13, 0.23, 0.20 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060114/ec97439a/attachment-0001.sig>


More information about the fedora-list mailing list