Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permissions on /dev*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Stubbs
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 110

PostPosted: Sun Feb 06, 2005 6:10 pm    Post subject: Permissions on /dev* Reply with quote

Can anyone explain why, on a fresh install, I get this

Code:
bash-2.05b$ ls -l
total 0
crw-rw----  1 stuart tty 4, 64 Jan  1  1970 0
crw-rw----  1 stuart tty 4, 65 Jan  1  1970 1
crw-rw----  1 stuart tty 4, 66 Jan  1  1970 2
crw-rw----  1 stuart tty 4, 67 Jan  1  1970 3
crw-rw----  1 stuart tty 4, 68 Jan  1  1970 4
crw-rw----  1 stuart tty 4, 69 Jan  1  1970 5
crw-rw----  1 stuart tty 4, 70 Jan  1  1970 6
crw-rw----  1 stuart tty 4, 71 Jan  1  1970 7


Why is the owner non root? The symlinks /dev/ttyS* are all owned by root, but nothing, not even root can write to the serial port.

I have a DS9097U serial port adaptor and running digitemp on eithe the symlink or the tts/0 file give an error

Code:
bash-2.05b$ digitemp -w /dev/tts/0
DigiTemp v3.2.0 Copyright 1996-2003 by Brian C. Lane
GNU Public License v2.0 - http://www.brianlane.com
Error, you don't have +rw permission to access


The 9097 is the only serial device I have to test it with, so does anyone have any ideas?
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Sun Feb 06, 2005 10:14 pm    Post subject: Reply with quote

Because you insxtalled pam, and pam tries to change the permissions when you login. I got rid of that behaviour by removing /etc/security/console.perms.
Back to top
View user's profile Send private message
Brazil
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2003
Posts: 117
Location: Los Angeles, California

PostPosted: Mon Feb 07, 2005 4:26 am    Post subject: Reply with quote

I am having problems w/ permissions too... I removed console.perms, and it still doesnt fallow my udev permissions...

Where in pam is this set? And is there anything else that can change the permissions
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Mon Feb 07, 2005 7:22 am    Post subject: Reply with quote

I would suggest you to run "udevstart" to get plain udev permissions. And if you set your permissions in permissions.d keep in mind, that that is obsolete in the latest udev version and is not parsed, instead the rules.d file is to be used.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum