LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-31-2003, 02:58 PM   #1
goldenmag
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Question 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.
 
Old 07-31-2003, 03:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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.
 
Old 08-01-2003, 02:28 AM   #3
shaheen
LQ Newbie
 
Registered: Jul 2003
Location: India
Distribution: Red Hat 7.1
Posts: 27

Rep: Reputation: 15
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
 
Old 08-01-2003, 09:43 AM   #4
goldenmag
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Original Poster
Rep: Reputation: 0
thanx

Finally, i use the chown command

and chmod 775 *

Thanx for your help and your useful links.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application permissions issues motionid Linux - Newbie 4 08-07-2005 12:24 PM
Permissions Issues with Apache and InterProScan Neruocomp Fedora 6 07-05-2005 01:30 PM
Issues with permissions of a mounted drive mreinecker Linux - Newbie 8 03-22-2005 08:52 PM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 10:41 AM
Permissions issues with graphics card Courthold Slackware 2 11-24-2004 02:41 PM


All times are GMT -5. The time now is 05:18 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration