Change permissions on /dev file?

Toralf Lund toralf at procaptura.com
Sat Jan 14 20:30:51 UTC 2006


Alexander Dalloz wrote:

>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.
>  
>
Right. I haven't quite got used to this new(ish) udev stuff... Seems to 
me now it must be the place for the setting I want, but the location you 
mention can't be correct for my system, as /etc/udev has no permissions.d.

>Alexander
>
>
>  
>




More information about the fedora-list mailing list