I always forget the default reply is to the original sender only, sorry for
the double Jan ^^;
> What puzzles me even more is that I have to give both
> commands everytime again after having booted. Shouldn't
> the chmod remain effective, also after boot ?
That's right, assuming nothing changes them.
In a standard 8.2 installation if you look in /etc/pam.d files for xmd and
gdm, you'll see they call a pam module called devperm.
This module reads a /etc/logindevperm file, that states wich device should
have their permissions changed and to what. Moreover, they change the owner
of some devices to the logged in user.
This is what's changing the devices permissions. What I dom't understand is
why this isn't right for you: after all it should give you ownerships of
the listed device, so your user should be able to use them. I have problem
with this only when/if I log in with a different user in a different X
session, but otherwise I'm fine.
Oh, since I'me re-sendding this, I can as well add a maybe obvious tip: if
you want to give permission for the devices to some groups, you can change
the ownership of i.e. /dev/video0 to root:video this way the logging-in
user is assigned ownership of the device, but the other users in the video
group can still use the device. Then you go editing /etc/logindevperm to
change the rights for the video devices from 0600 to 0660 :-)
Ciao,
Roberto.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.