Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default Permission Errors

    Hello,

    I am administrator of TitaniumHosting and tonight, I suspended an account. After maybe 30 minutes, I unsusoended it and since then, the user is receiving permission error when he tries to view his site. He can access his cPanel ok but not his site. Can anyone tell me how to fix this?

    To get an idea of what I mean: http://davids-site.titaniumhosting.com/

    Thank you.

  2. #2
    Member
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    57

    Default

    What's in your user's public_html folder? Also have you reconfigured Apache to not show directory index?
    God is in his own heaven and all is right with the world.
    http://magi.net.au - Have some fun!

  3. #3
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Quote Originally Posted by K_aneda
    What's in your user's public_html folder? Also have you reconfigured Apache to not show directory index?
    Hi. I am new to this. How do I reconfiger apache? Also, it's a reseller account I have so I only have access to WHM.

  4. #4
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Hi.

    This is what's in his Public_HTML:

    Up one level
    WysiwygPro 755
    cgi-bin 755
    david 755
    Create New File
    .htaccess

  5. #5
    Member
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    57

    Default

    Looks like he dosen't have any files in his public_html... have a look in his home directory (i.e. /home/user) and see if a homedir folder exists, or if his files were moved elsewhere.
    God is in his own heaven and all is right with the world.
    http://magi.net.au - Have some fun!

  6. #6
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Upload a test index.html page and see if that's visible from http. Looks like Directory Index is configured to be switched off in apache.

    Anup

  7. #7
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Quote Originally Posted by K_aneda
    Looks like he dosen't have any files in his public_html... have a look in his home directory (i.e. /home/user) and see if a homedir folder exists, or if his files were moved elsewhere.
    Hi.

    In his file manager, these are the directories that exists:

    / (Current Folder)
    Create New Folder
    Upload file(s)
    .fantasticodata 755
    .htpasswds 755
    .neomail 700
    .trash 700
    mail 750
    public_html 750
    tmp 700
    www 755
    Create New File
    .contactemail 0 k 600
    .lastlogin 0 k 600
    .spamkey 0 k 600

    In his /www/ directory, there is a copy of the folder /david/

    That's it.

    I appreciate your help.

  8. #8
    Member
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    57

    Default

    As anup123 says, try putting in a dummy index.html file in /home/david/public_html
    and then testing to see if you still get HTTP 403 errors from his website.
    God is in his own heaven and all is right with the world.
    http://magi.net.au - Have some fun!

  9. #9
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Quote Originally Posted by K_aneda
    As anup123 says, try putting in a dummy index.html file in /home/david/public_html
    and then testing to see if you still get HTTP 403 errors from his website.
    Hello,

    Yes, still getting the error page.

  10. #10
    Member
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    57

    Default

    Hmm... now sounding like permissions as well. I'd check that apache process can access folders (o=x on /home/david and /home/david/public_html, and u=r,g=r,o=r on index.html)
    God is in his own heaven and all is right with the world.
    http://magi.net.au - Have some fun!

  11. #11
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Quote Originally Posted by K_aneda
    Hmm... now sounding like permissions as well. I'd check that apache process can access folders (o=x on /home/david and /home/david/public_html, and u=r,g=r,o=r on index.html)

    LMAO. That's it. He had the permissions for Public HTML at 722 when it should have been 755. Ok I am tired.

    Thank you so much.
    Best regards and have a great Christmas.

  12. #12
    Member
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    57

    Default

    No problems. Glad to help
    God is in his own heaven and all is right with the world.
    http://magi.net.au - Have some fun!

  13. #13
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    as root on shell type:

    chmod 755 /home/david/public_html

    also do

    /scripts/fixwwwdir

    /scripts/fixcommonproblems

    and try.

  14. #14
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    oh.. iam sorry looks like i was abit late to post.

  15. #15
    Member Roy@ENHOST's Avatar
    Join Date
    Mar 2002
    Location
    Los Angeles California
    Posts
    495

    Default

    sorry for bumping this thread....

    isnt public_html supposed to be chmodded 750?

    Quote Originally Posted by linux-image
    as root on shell type:

    chmod 755 /home/david/public_html

    also do

    /scripts/fixwwwdir

    /scripts/fixcommonproblems

    and try.
    = = = = = = = = = = = = = = = = = =
    Cpanel XP Evolution (Add DOZENS of functions to your Cpanel NOW!!!) - 21 Languages, User Friendly Interface, Feature Enabled, Highly Customizable, Create Popup Once window, Language Aware, Flash Tutorials, Theme Changer,Integration with Modernbill,WHM AutoPilot,ClientExec,LPanel&WHOISCart

Similar Threads & Tags
Similar threads

  1. Permission Errors in cPanel
    By DeiseHost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-19-2008, 03:10 PM
  2. File permission errors
    By Archness in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-14-2007, 04:40 PM
  3. Permission Errors
    By celliott in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-07-2006, 03:33 PM
  4. Permission errors
    By morphina in forum Database Discussions
    Replies: 17
    Last Post: 03-06-2006, 09:00 PM
  5. PHP permission errors
    By EMS in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2003, 12:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube