Toralf Lund wrote:
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
>
>
>
>
Look to /etc/udev/rules.d
HTH
--
-------------------------------------------------------------------------------
"The two most common things in the | Bill Perkins
universe are Hydrogen and Stupidity." | perk(a)iag.net
| programmer-at-large
F. Zappa | ALL assembly languages done here.
-------------------------------------------------------------------------------