I've just uploaded some content to a static-only application, and it's showing as 403 Forbidden. A little Googling suggests that the correct permissions for this content will be 755 for folders, and 644 for files, for the web server user. Please could you let us know the right command to set all files to 644 recursively, and folders to 755 recursively, for the relevant user on Webfaction servers (is this www-data or something else?). Thanks. asked 05 Jun '13, 06:19 AnnaPS |
You need to traverse inside your app's directory and run 2 find commands to do what you want.
This will change your files and directories to the mode you want. All files should be owned by your own user, not www-data. answered 05 Jun '13, 09:33 iliasr ♦♦ Thank you very much.
(05 Jun '13, 10:35)
AnnaPS
This didn't weork for me.
(06 Sep '15, 01:09)
tutuca
I just responded to your support ticket in regards to this. We'll take it from there.
(06 Sep '15, 01:23)
NickR ♦♦
|