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.

FTP Permissions in WHM

Discussion in 'General Discussion' started by project, May 11, 2010.

  1. project

    project Member

    Joined:
    Oct 27, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hi guys,
    (I dont know if this is the right section to post this thread)
    i have a vps server and when i create a new account, the file permissions in the public_html folder are 644 and i have to change them manually in 755 in order not to have problems with the joomla installations. How can i say the vps when creating a new account to make automatic the permissions 755??
    Is this possible??

    Thank u in advance
    Kostas L.
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    The direct answer to your question that everyone will tell you is that you can change the default permissions in Tweak Settings in WHM or in the /var/cpanel/cpanel.config

    HOWEVER ...

    To do this would be utterly and completely pointless

    Joomla **DOES NOT** require 755 permissions on any PHP system type

    644 is actually perfectly fine and more appropriate

    In fact on all PHP system types except for DSO alone, I would actually tighten things down further and make the PHP scripts themselves 600 and the non-script files 644.

    The folders (not the files) is the **ONLY** thing that needs to have 755 permissions and that is already what is set by default on those.
     
Loading...

Share This Page