[kde-linux] Device permissions

Werner Joss werner at hoernerfranzracing.de
Sat Mar 4 18:25:56 UTC 2006


Am Samstag, 4. März 2006 19:17 schrieb cwh:
> I am running SuSE 10 + KDE 3.4.2.  I have 'sane' and 'xsane' installed,
> which I use to access my scsi scanner (/dev/sg0).
> This device is owned by root and belongs to the group 'disks'. I, as user,
> also belong to this group.   For xsane to access the scanner the group must
> have read + write permission, but the default permission for group is read
> only.
> So my problem is that I have to alter the permission every time I wish to
> access the scanner.  Such alteration only survives for the session and when
> I next boot up  the permission has reverted to the default.   Presumeably,
> in order to make the altered permission premanant,  an entry must be
> altered or made in some file, but which file and where?   Can any person
> with more knowledge than me please assist?

I suppose suse 10 uses udev (most modern distros do) which creates 
device-files dynamically at startup.
in this case, you will have to modify your udev-rules to reflect the desired 
permissons.
see http://www.reactivated.net/writing_udev_rules.html

werner



More information about the kde-linux mailing list