File permissions and ownership all screwed up
Alot of my device files (/dev) have my main user as owner (instead of root) and permissions are set to everything for the owner, nothing for group or other people. I noticed this when my dad's account couldn't acces my sound device. I have never done a chown or whatever on that folder, how is this possible? Did slackware set those permissions?
My questions is: is there a way to set default permissions and ownership in /dev, because setting them all by hand is going to take forever. Any help is appreciated. |
read "man chmod" and "man chown"
somthing like Code:
chown root -R /dev |
I understand chown and chmod and I really don't want to give everyone full permission. But I guess I can do
Code:
chown root -R /dev |
that wont work....
chmod 760 means give root full access... give others in the same groupe as root read / write access and give every1 else no access ! and remember,,,, a user need execute permissions on a folder to enter it. |
Well some devices have a different group (like audio or video), so 760 will give users in those groups read and write right?
edit. I have to do 777 or nobody (except root) has audio. Can anybody tell me how to set it up so i don't have to give everybody full permissions please? edit. Ok, if I don't 777 the whole damn /dev nobody can't do anything except for root, this sucks |
Quote:
do you mean "nobody CAN to anything"... or are we talking about the group nobody not beinng able to "do anything" |
I mean, only root can still login. Other users can't even do that. After many hours of googling i've found out about MAKEDEV in /dev that can remake the devices. But it doesn't remake all of them so I still have to chmod 777 for users to be able to even login.
|
All times are GMT -5. The time now is 06:27 AM. |