WebFaction
Community site: login faq

I'm trying to set up a new WordPress installation with another developer. He had the site originally running on his own server and he used his own, secondary user account to upload the files to WebFaction via SFTP.

Now the problem is that the files and directories are created with his user and the site is running with my user. I haven't found a solution to set up the permissions so that WordPress file uploads would work.

I tried re-creating the /wp-content/uploads directory and setting it permissions correctly, but that didn't help. When I check the permissions with ls -la, I get these results:

drwxr-sr-x+ 29 myusername mygroup 4096 23.10. 13:05 uploads

What am I doing wrong?

asked 23 Oct '14, 13:39

roxeteer
113
accept rate: 0%


Make sure that your main account user has r-x or rwx permissions at every level leading up to (and including) the uploads directory.

permanent link

answered 23 Oct '14, 16:05

seanf
12.2k31836
accept rate: 37%

The permissions were correct, but the month-based directory inside the /uploads was still owned by a wrong user.

BTW, any idea if there's a way to chown a directory without sudo rights?

(26 Oct '14, 13:26) roxeteer
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×244
×64
×29

question asked: 23 Oct '14, 13:39

question was seen: 1,998 times

last updated: 26 Oct '14, 13:26

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM