The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

chmod 777 on folders

Discussion in 'General Discussion' started by sayouly, Nov 12, 2004.

  1. sayouly

    sayouly Member

    Joined:
    Oct 15, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I have searched this forum and read every post I can find on this problem but have not found an answer.

    I have just set up my server and am getting internal server errors on directories and on some php files that have permissions of 777. So, I changed the permissions to 755 and MOST of the problems went away. However, I still have one domain that is giving errors even after setting the permissions to 755.

    Before I moved this site to my new server 777 permissions never caused a problem. So, my question is this. Is there a file in the root somewhere that I can modify to allow directories to have permissions set to 777? It seems to me that there should be a way to change the max allowable chmod setting. Any help would be appreciated.
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Check the ownership of the file/folder. If you're using PHP susexc, it should be the actual owner versus nobody.
     
  3. sayouly

    sayouly Member

    Joined:
    Oct 15, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Chmod file 777

    I hate to be a pain but how do I do check the owner and if it needs changed how do I do that? I am new at managing my own server. Sorry.
     
  4. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Using SSH: ls -l (lower case L's)

    to changed the owner and group: chown ownername:groupname /directory/filename

    usually ownername and group name are the same.
     
  5. sayouly

    sayouly Member

    Joined:
    Oct 15, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    it's fixed--I think

    I just rebuilt apache without PHP susexc and everything seems to be working now. Thank you for your help.

    Cheers :)
     
  6. ladierainy

    ladierainy Well-Known Member

    Joined:
    Dec 1, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    I have this issue with a bunch of images in a directory.

    Can I change the owner and group for all files in a directory?

    Or do I have to do this one by one, or can I do this en masse?

    PLLLLLLLLLLLLLLLLLEEEEEEEEAAAAAAAASSSSSSSSSSSSSSEEEEEEE say I can do it all at once, please please please.

    lol
     
  7. ladierainy

    ladierainy Well-Known Member

    Joined:
    Dec 1, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Nevermind I figured it out and it was pretty easy thank goodness! LOL!
     
Loading...

Share This Page