LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2004, 03:33 AM   #1
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
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....
 
Old 04-19-2004, 03:55 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 04-19-2004, 06:12 AM   #3
reddog64
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
thanks i'll try that tonight and see what happens!

why shouldnt i run things as "root"

-Aaron
 
Old 04-19-2004, 02:23 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
write permissions on certain folders PensJunkie Linux - General 4 06-20-2005 07:17 PM
Changing file permissions within multiple folders cloudxiii Linux - Newbie 1 02-21-2005 12:20 AM
Permissions of new folders through samba doctorwebbox Linux - Networking 9 08-10-2004 12:46 AM
Permissions for folders geolew Red Hat 4 09-03-2003 09:49 PM
Permissions with windoze folders sportjeep99 Linux - General 1 06-07-2001 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 AM.

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
Open Source Consulting | Domain Registration