• I have a WordPress site that’s AWS hosted running Ubuntu. I admit that I don’t know as much about Linux as I should and I’m really struggling with this. When I SFTP into my instance, I cannot modify or add files. As far as I can tell the user that I log in as has ownership. I’m afraid to make changes because I don’t want to break something. I should add that when I use puTTY to manage my site, I need to use the sudo command to make changes.

    Side note, as I said, I know I should know more about this. Once I get a couple things changed, I plan on moving my hosting so I don’t have to struggle with this type of stuff anymore. I just need to get my site to a certain state before I can do that.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Have you contacted your hosting provider? If not, I recommend contacting them.

    Thread Starter ned4spd8874

    (@ned4spd8874)

    It’s hosted on AWS. I’m the support. I’m the one who created the instance, installed Ubuntu, WordPress, etc.

    Moderator James Huff

    (@macmanx)

    WordPress doesn’t control SFTP access or whether or not files on your server are writeable, so it’s not entirely likely you’ll find someone on the WordPress Support Forums who would be equipped to help you with that.

    @ned4spd8874 If you have root access for the Ubuntu server, you can go in and change the permissions. By default on Ubuntu all of the files in the Apache document root should have www-data as both the owner and the group.

    I make a habit on my Ubuntu servers to add my own user to the www-data group, and make sure the group has full read/write permission on everything. That makes it easier for me to manually edit files over SFTP without causing these kinds of permission issues when updates run. But keep in mind that if you add any new files this way, you may still get permission errors when updates run.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.