Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-04-2005, 08:17 PM   #1
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Rep: Reputation: 15
user home directorys can't be accessed anymore

When I log in as a restricted user on linux rh fedora core 2, my home directory denys access to it, and then logs me out right away (in x11). And from the command line I just can't access my home directory. Although root works fine still. My home folder is owned by root 700. And my user folders are owned by the correct users. The only thing that I have changed on the system is that I turned on user directorys in the apache config file ( which enables users to have html files viewed on the server, per user account). And the I turned the userdirective to '/home/*/' in the httpd.conf file to. So that the server root directory(per user) is the user folder instead of a folder inside a user folder.
Old 01-04-2005, 08:35 PM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Double-check your home directory permissions again. Modifying Apache won't have any effect on you home directory when logging in locally.

The home directory needs to be owned by the user. It's expected to have read, write and execute access for the owner.

RedHat typically creates a unique group per user. The home directory should have that group as its group owner. Typically, you only give read and execute permissions to the group.

Since you want to allow Apache access, then the other user permissions need to allow read and execute for each directory from the top home directory through to the public_html directory (or whatever you set it up as).

So, again, as root, double check the directories themselves (ls -l /home) , verify the owner:group is correct, and make sure the permissions are correct (chmod 755 /home/<username>).


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
Setting up user directorys with apache r_squared Linux - Networking 9 12-26-2004 10:07 AM
recent attack via phpBB, log files deleted? accessed file system outside /home/ enzo250gto Linux - Security 8 12-17-2004 01:51 PM
mounting a hdd with Debian on it, why are the users home directorys gone? brynjarh Linux - General 2 12-11-2004 03:45 PM
Installed newer mandrake, but /home directory doesn't have write access anymore?!? repeater75 Mandriva 2 02-19-2004 08:48 PM
Slack 9: mounted FAT32 partitions cannot be accessed by normal user Obi-Wan_Kenobi Slackware 6 07-12-2003 11:15 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration