LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-21-2003, 06:19 AM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
rights to v4l devices on devfs


anyone able to tell me what is settings the rights on my v4l devices to 600 chris.root, even though my devfsd.conf clearly states they should be 666 root.video? no idea why these permissions are not according to devfs's demands. never did understand why devices like that come up as owned by my own user and not root, but now it's actually a problem as i need to record tv programs as another user.
 
Old 07-21-2003, 09:07 PM   #2
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
v4l seems to be a little different when it comes to devfsd. Most devices in the /dev directory you only need to put a line in /etc/devfsd.conf like:
REGISTER ^v4l/.* user.root rw-rw-rw-
And that will chmod every entry in the /dev/v4l directory to user.root 666. This does not work with v4l.

I think but I have not tried it (because it would require me to issue killall -HUP devfsd and that would kill my internet connection and I am downloading at the minute) that you need to put the line REGISTER ^v4l/.* user.root rw-rw-rw- in the file /etc/devfs/conf.d/dynamic.conf.

Let me know if it works, or I'll let you know if I try it first.
 
Old 07-21-2003, 09:39 PM   #3
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
NOPE! That didn't help either. The only thing I can change in the /dev/v4l directory is the group. I can't change the user or the premissions?

A quick and dirty fix of course would be to put a chmod in the /etc/rc.d/rc.local file.

Sorry I can't help.

If you figure it out please post it here.
 
Old 07-22-2003, 03:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
no problem, thanks for trying though!
 
Old 07-22-2003, 07:51 PM   #5
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
Well I was snoopping through /etc/devfsd.conf and came across this line:
# Uncomment this to let PAM manage devfs
REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so pam_console_apply_single $d$

Then I looked in /etc/security/console.perms and found this line:
<console> 0600 <v4l> 0600 root.sys

If your setup is like mine then you just edit the console.perms file and restart devfsd.
 
Old 07-23-2003, 03:08 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Original Poster
Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
looks promising, i'll check it out, ta.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
V4L Bt878 exkor5000 Linux - Software 2 02-12-2005 11:39 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 10:25 AM
To devfs, or not devfs - advice please JamesM Linux - General 7 08-13-2003 06:59 AM
RH8.0 and V4l fadedspoon Linux - Newbie 2 02-06-2003 07:40 AM
RH80 and v4l fadedspoon Linux - Hardware 0 02-06-2003 05:01 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration