Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

file permission

Discussion in 'General Discussion' started by Dante78, Mar 6, 2012.

  1. Dante78

    Dante78 Well-Known Member

    Joined:
    May 1, 2010
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    56
    Hello

    i have noticed that all files of a cpanel migration account have 600 permission. I tried to change manually all the files into 644 but it took too long.

    Do you have any ssh command to change into 644 all files (not folders) at once?

    thank you
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Did you transfer the account using the cPanel transfer tools? If so, the permissions for files should not have automatically changed from 0644 to 0600. You can use the following command to get a list of all files using 0600 permissions within an account's public_html directory:

    Code:
    # find /home/username/public_html/ -mindepth 1 -perm 0600 -type f
    It's not advised to change the permissions on every file to 0644 because some files do not need that level of permissions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice