Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    7

    Question Cpanel folder chmod 755

    Hi,

    The File Manager chmod settings for my sites for their
    CPanel folders all show to have been automatically set
    to 755.

    1. Is this the default setting?

    2. Doesn't this allow others (on the same server and
    the world) to view the CPanel contents?

    3. Would it hinder or negate some other function(s)
    if this setting is changed to 700?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by beau View Post

    ...

    3. Would it hinder or negate some other function(s)
    if this setting is changed to 700?
    Yes, in such a scenario PHP and Perl scripts not running in SuPHP and SuExec environments would cease functioning due to insufficient permissions. In such scenarios, such scripts are being triggered by user nobody.

    As a result, the scripts would need global read, and possibly global write and execute permissions as well depending on the nature of the script.

    IIRC, not all files uploaded/created in file manager receive the same default permissions and it may vary depending on file type.

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    7

    Default

    Thanks for the reply to question #3 ( and I quess #1).

    However, what about:

    2. Doesn't this allow others (on the same server and
    the world) to view the CPanel contents?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by beau View Post
    Thanks for the reply to question #3 ( and I quess #1).

    However, what about:

    2. Doesn't this allow others (on the same server and
    the world) to view the CPanel contents?
    That depends on the security measures you have enabled.

Similar Threads & Tags
Similar threads

  1. Folder Permission 755 and File Permission 644 safe ?
    By smksa in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-13-2009, 12:27 PM
  2. PHP can not create dirs with chmod 755
    By geraldo in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-18-2007, 09:16 AM
  3. Unable to CHMOD a dir back to 755
    By Xiode in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-17-2007, 04:21 AM
  4. chmod 644 for files and 755 for directories
    By CoolMike in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-05-2005, 04:24 AM
  5. A way to chmod public_html's to 755 in one hit via ssh?
    By pingo in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-12-2003, 10:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube