LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   permissions issues (https://www.linuxquestions.org/questions/linux-general-1/permissions-issues-77748/)

goldenmag 07-31-2003 01:58 PM

permissions issues
 
Linux Newbie question:

I would like to give full permission to a user on a specific folder.

username:Johnny
specific folder: walker

I Know that i have to use the chmod command and how i can give full access to a specific folder but the part that i'm missing is how to give the permissions full access to a user on the specific folder.

Like:

chmod 777 /walker

I know that's a stupide question but i realy need help on this one.

thanx.

david_ross 07-31-2003 02:02 PM

Make the user the owner and group owner of the directory:
chown -R Johnny.Johnny /path/to/walker

Make sure no other user has access:
chmod -R 770

In both cases the "-R" makes the action go recursively - ie all files and directories below will be changed too.

shaheen 08-01-2003 01:28 AM

permission issues
 
hi there , ur question is not at all stupid rather it is very vital for computer security issues , what i feel is that the post from David is good , u can check out these two websites , they might provide you some good resources ... http://home.tvd.be/ws36178/security/...ermission.html and http://www3.telus.net/stforster/linux/permissions.html , i hope they will help .... all the best for ur work , take care
Shaheen

goldenmag 08-01-2003 08:43 AM

thanx
 
Finally, i use the chown command

and chmod 775 *

Thanx for your help and your useful links.


All times are GMT -5. The time now is 01:48 PM.