0

I have a development server running wordpress. The wordpress files are owned by www-data:www-data.

I wanted a quick way to be able to upload so I added my user to the www-data group and then did a chmod 775 -R for the plugins and themes folder.

I am still unable to upload files. PHPStorm gives me a "permission denied" error. The directory has rwx for group so why can't I write files?

1 Answer 1

0

Have you tested this from a shell prompt? Because I just did exactly what you said and it works fine for me. Why is PHPStorm trying to write with your user id? Wouldn't it use the web server's user id?

If it is using your user id, try restarting it to pickup the changes.

1
  • I just realised. Some folders were owned by root which was causing the issue.
    – Guerrilla
    Aug 13, 2016 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.