LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Settign permissions on folders (https://www.linuxquestions.org/questions/linux-newbie-8/settign-permissions-on-folders-171945/)

reddog64 04-19-2004 03:33 AM

Settign permissions on folders
 
I need to give user "aaron" permission to run a program in /usr/steam/hlds_l/
i want to give myslef (aaron) permission to the folder "hlds_l"

i log in as root and try but dont have a clue....

Tinkster 04-19-2004 03:55 AM

Won't work like that.

You'll have to add a special group, i.e. hld.
(groupadd hld) make that group the owner
of the directory and its contents (chgrp -R hld
/usr/steam/hlds_l/ ) and make yourself member
of the group (usermod aaron -g <whatever group>
-G hld,<other groups>) ...


Cheers,
Tink

reddog64 04-19-2004 06:12 AM

thanks i'll try that tonight and see what happens!

why shouldnt i run things as "root"

-Aaron

Tinkster 04-19-2004 02:23 PM

Quote:

why shouldnt i run things as "root"
Because a slip as root can cost you your systems
functionality. Because an exploit in any given application
that you run as root would give an attacker your
entire system.

Do a search on the forum, that topic has been
discussed to death ;)


Cheers,
Tink


All times are GMT -5. The time now is 03:21 PM.