LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   no access to devices with group access rights (https://www.linuxquestions.org/questions/debian-26/no-access-to-devices-with-group-access-rights-270679/)

flipper333 12-27-2004 12:56 AM

no access to devices with group access rights
 
hi,

i cant access (dev-)files although i'm member of the assigned group.

crw-rw---- 1 root video 212, 0 Dec 26 19:30 video0

cat: /dev/dvb/adapter0/net0: Permission denied

very strange.

checked /etc/passwd and group, shadow is enabled, seems ok.

i can see no solution modifying settings in /etc/pam../security.

base install was sarge 5/2004, updated regularly.

any ideas?

y

Oliv' 12-28-2004 09:16 AM

Hello,

Do your user belongs to more than one group... if yes check which is his default group (with "id" command) and if that's the wrong group, change your group with "newgrp" or "sg"

Oliv'

makuyl 12-28-2004 09:25 AM

Do you have access to /dev?
drwxr-xr-x 17 root root 32768 Dec 28 16:56 /dev

Did you logout and login again after adding yourself to the group?

Quote:

crw-rw---- 1 root video 212, 0 Dec 26 19:30 video0

cat: /dev/dvb/adapter0/net0: Permission denied
That's not the same file. Can you do the following as user?
cat /dev/video0


All times are GMT -5. The time now is 01:11 AM.