LinuxQuestions.org
Review your favorite Linux distribution.
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 11-13-2004, 11:28 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
home directory


I am running slackware 10.0 and I am wondering if anyone could tell me how as a user I could full access to my home directory that is in root while I am user? How could I modify permissions? I would appreciate help with this problem.
 
Old 11-14-2004, 12:39 AM   #2
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
just to retrace my steps to make sure that we are on the same page, you have a user account that has a home directory directly under root, for example the user name of user, you have a folder

/user/

you want full access (read, write and execute) to this folder for everyone. I will assume that this folder already has some content in it, and that you want these changes to apply to all files that are already there, you would need to recursivly change the permisions of this folder and its content. For example:

chmod -R 777 /user/

this will only work as a user, if you have execute permision to your own folder. If not you will either need root access, or have someone with such access to change your premisions to your home folder.

Good luck,
 
Old 11-17-2004, 01:30 PM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I tried running this command and I am getting the message "no such file or directory"
 
Old 11-18-2004, 09:39 PM   #4
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
OK, I may not have made the statement clear enough. the reference to /user/ was ment to be your user name (which is often, but not always, the name of the home directory), you mentioned that your home dir is in root, hence it should be off of / as shown. But to help eliminate confusion, I am going to ask you to log in as your user and from the command line type:

cd
pwd

The first of the above should take you to your home directory. The second will display the 'present working directory', which will be your home directory. Assuming that you have rights to this directory, you can take the output from pwd and run it through the chmod command mentioned above...

chmod -R 777 <insert output from pwd statement above>

the chmod command will allow you to change the persions to a file or folder, the -R informs the command to apply the calue recursivly, anf the 777 sets the persions to 7 (read, right and execute) for the owner of the file the members of the group for the file and everyone else.

Good Luck
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
Home Directory! UltraSoul Solaris / OpenSolaris 1 01-01-2005 10:26 AM
QT and the home directory Pougan Linux - Newbie 3 11-02-2003 10:55 AM
home directory under a home directory GEEXTER Linux - General 4 04-03-2003 10:17 AM
Can't get in home directory--Help dtsfanatic Linux - General 1 08-10-2002 04:19 PM


All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration