Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Permission setting for files and folders



  • SimpleSonic

    I'm assuming you are using the cPanel File Manager.

    Unfortunately the File Manager does not provide any means of ensuring your folders/files have specific permissions when uploading.

    If you need more control over the permissions, using an FTP client is best.

    Optionally, after uploading the files you can use Terminal in cPanel or an SSH client to run the chmod command to quickly and easily modify the permissions.

    For example:

    chmod -R ugo-x,u+rwX,go+rX,go-w /home/YOURUSERNAME/public_html/

    Replacing "YOURUSERNAME" with your cPanel username in the above code would reset everything in your public_html folder to 755 for folders and 644 for files.


  • toplisek

    How to set within cPanel permissions when we upload files and folders?

  • SimpleSonic

    Within cPanel, you can use the File Manager, but it's not very intuitive and really not recommended if you need to mass change multiple folders/files.

    An FTP client, such as FileZilla or using Terminal in cPanel or an SSH client is best if you need to change permissions on multiple folders/files.


Please sign in to leave a comment.