On Thursday 11 Sep 2003 4:07 am, Bill Mullen wrote: > Two comments: > > 1) The problem most people have with msec and permissions isn't > that it somehow doesn't "allow" them to make a change, but that > when the msec cron job runs later, it detects whatever change was > made (by comparing current permissions on the files/dirs that come > under its purview to the values it expects to find), and "corrects" > any differences it uncovers; this is why those changes don't appear > to "stick". But that isn't what's going on in this case, anyway, > AFAICT. > > 2) What govern the permissions changes at login for such devices > are the relevant entries within the /etc/security/console.perms > file. This file controls the temporary resetting of ownership and > permissions on various devices to the UID of the logged-in user, > and also the settings they will revert to when that user logs out. > > The format of the file is explained in the comments at the top of > the file itself, and further info is in the "console.perms" man > page. I would think that to prevent the switch of the v4l device's > ownership to that of the user, you would want to comment out this > line near the bottom: > > <console> 0600 <v4l> 0600 root.sys > > Your line may differ, as this is from my 9.0 system. Reboot, and > hopefully then the device will stay owned by root, even after you > log in as anne. > > HTH!
Hi, Bill. Based on what you had said, I changed the line to <console> 0750 <v4l> 0750 root.video When I rebooted I found that the group had been changed to video - small progress <g> - but the owner was still anne. Perhaps I should have done more exactly what you said, and commented the line out. I'm going to try that. If it then allows me to make the change, should I then uncomment it again? Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet?
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
