LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-02-2003, 07:48 PM   #1
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Rep: Reputation: 0
home directory under a home directory


I'm trying to create a home directory under a home directory.
Is it possible?


Example:

LOGIN AS ROOT

existing directory: /home/qp

mkdir /home/qp/gess

useradd gess -d /home/qp/gess -p password

chown gess /home/qp/gess

chmod 775 /home/qp/gess


...then when I log in as gess it says I do not have permission to access /home/qp/gess.

Any clues?
 
Old 04-02-2003, 07:51 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
If they have "x" attribute on all above directories, then yes. Make sure you just give it X on the directory, so:
chmod a+x /home/qp
would add that attribute, then give the user permission to access that directory, and in turn, access the home directory within it.

AFAIK

Cool
 
Old 04-02-2003, 09:00 PM   #3
GEEXTER
LQ Newbie
 
Registered: Nov 2002
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you so much. It worked perfectly, MasterC.
 
Old 04-03-2003, 09:34 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Cool, you're welcome.

Cool
 
Old 04-03-2003, 10:17 AM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Question (Out of curiosity): Why would you want to do this?
 
  


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
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
home directory paul62 Linux - Newbie 3 11-18-2004 09:39 PM
QT and the home directory Pougan Linux - Newbie 3 11-02-2003 10:55 AM
Can't get in home directory--Help dtsfanatic Linux - General 1 08-10-2002 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:56 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