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.

file permission

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

  1. Dante78

    Dante78 Well-Known Member

    Joined:
    May 1, 2010
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page