2

I own a server on Cloudways and log into the applications in FileZilla using my Master SFTP and SSH access credentials user name and password. However, I am not able to change the permissions on folders or files to 755 (or anything else) - I get "permission denied." All I'm trying to do is add some code to the .htaccess file but it won't overwrite back to the server. Any idea what's wrong?

  1. Currently, the public_html folder is 755. The .htaccess file inside that is 644.

  2. I am the owner and only user. I tried login in two ways: With the server name and pass (which shows me all the apps\sites) and with a specific app\site name and pass (which only shows me one site.) Both ways have the same issue.

10
  • What are the current permissions of the folder?
    – Ramhound
    Commented Jun 19, 2021 at 12:11
  • public_html folder is 755. The .htaccess file inside that is 644. Commented Jun 19, 2021 at 12:50
  • What user owns the .htaccess file and are you logging in as that user?
    – Ramhound
    Commented Jun 19, 2021 at 13:01
  • I am the owner and only user. I tried login in two ways: With the server name and pass (which shows me all the apps\sites) and with a specific app\site name and pass (which only shows me one site.) Both ways have the same issue. Commented Jun 19, 2021 at 17:09
  • I am not asking if you are or are not the owner. I am asking what user owns the file and what user are you logging in as. The file permissions won’t allow anyone except the owner to chnage the permissions in the file. Please…edit your question with this necessary information
    – Ramhound
    Commented Jun 19, 2021 at 20:56

2 Answers 2

2
+50

You won't have root permissions if you log in with Cloudways server credentials. You should log in with the app credentials and then you should get root access to make changes and upload files.

1
  • Thanks! You rock!
    – clayRay
    Commented Jul 13, 2022 at 1:53
0

I have The same issue after hacker attack. I’m trying to clean up but can’t change files in FileZilla or upload new?

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented May 16, 2023 at 16:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .