[kde-linux] Device permissions

cwh cwh at cbb4u.co.uk
Wed Mar 8 18:42:09 UTC 2006


On Saturday 04 March 2006 18:25, Werner Joss wrote:
> 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
>
Thank you. SuSe 10 does use udev and I referenced the article and having spent 
the past days reading and re-reading it I think that I understand it.  
However despite several attempts to right a rule to set the Mode, so far my 
system appears to take no notice.  Obviously I am not doing something right.

Chris.



More information about the kde-linux mailing list