Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21
Ah. This one may be some RedHat trickery! Check out /home. This is sometimes set to 711, meaning that no one can read the directory listing to see if there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621

    Ah. This one may be some RedHat trickery! Check out /home. This is sometimes set to 711, meaning that no one can read the directory listing to see if there is an index.html

    Code:
    ls -ld /home
    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

  2. #12
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    I will check that as soon as I get back to the office!!
    I have had some other funny issues with Red Hat and permissions.
    I have installed the e107 content management system in the /var/www/html directory and set it to 777 (for testing purposes) and the application complains it cant write to the files!! Very weird that one.

    Once again it works fine on FreeBSD
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  3. #13
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    Changed the order of allow, deny but no luck.
    Home directory has 755 permissions.
    I don't have a clue why this will not work
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  4. #14
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1
    I'm actually having the same problem. I've followed this thread for a couple of days, implemented the suggestions, and have the same failed result. Using FC3.

  5. #15
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Are you restarting Apache after making the changes? Also are you loading mod_userdir?

  6. #16
    Linux User
    Join Date
    Oct 2004
    Location
    /dev/random
    Posts
    404
    Quote Originally Posted by Giro
    Are you restarting Apache after making the changes? Also are you loading mod_userdir?
    Good question..
    I was going to ask the same thing
    The Unforgiven
    Registered Linux User #358564

  7. #17
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    yep, I restart it each time and the mod is loaded.
    LoadModule userdir_module modules/mod_userdir.so
    I just dont get it. Never had any problems with Red Hat or FreeBSD
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  8. #18
    Just Joined!
    Join Date
    Dec 2004
    Location
    NL
    Posts
    3

    UserDir public_html

    Hi,

    I have exactly same problem with Fedora 3 and UserDir public_html.
    Has anyone a clue already?

    Unlike previous I was not able to check priviliges like 755 and 777. How to do this? The ls -ld /home command did not show that.

    Regards,

  9. #19
    Just Joined!
    Join Date
    Dec 2004
    Location
    NL
    Posts
    3
    Hi,
    In addition to my posting: I performed all three actons on:

    http://fedora.redhat.com/docs/selinu...r-homedir.html

    and still am not succesfull. Help very much appreciated!

  10. #20
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1
    This will set you free:

    chcon -R -t httpd_sys_content_t public_html

    This will change the secerity context of the entire directory so apache can access it.

    I found the answer to this at http://www.linuxhomenetworking.com/l...pachebasic.htm under the 'Security Contexts And Apache' section.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •