mdehoogh
11-22-2010, 17:34
A friend of mine hosts my website on his server. It's nothing critical and I mostly use it as a "cloud" storage so that I can transfer files easily between computers without a flash drive.
I installed wordpress (blogging software) on it and was going to edit the stylesheet. Wordpress has a built in editor where I can change the code and it will rewrite it for me but it said that I would need to change the file permissions in order for it to work.
I have the wordpress files installed in the /blog/ subdirectory and when I log into cPanel, I can see the option to edit file permissions. When I click on the /blog/ directory, the permissions are set as such:
..............user..group..world
read..........x.......x.........x
write.........x
execute.....x.......x.........x
...............7.......5.........5
On the wordpress website there's a section that covers file permissions and it says "All files should be owned by your user account on your web server, and should be writable by your username. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver." and "If you want to use the built-in theme editor, all files need to be group writable."
This leads me to believe that I should change the permissions so that GROUP has write access and should be 775 instead of 755. I'm not sure if I should change the permissions of the entire /blog/ directory or if I should move lower down the tree and just change permissions of the /style.css files and any other specific files that may need write permissions.
I installed wordpress (blogging software) on it and was going to edit the stylesheet. Wordpress has a built in editor where I can change the code and it will rewrite it for me but it said that I would need to change the file permissions in order for it to work.
I have the wordpress files installed in the /blog/ subdirectory and when I log into cPanel, I can see the option to edit file permissions. When I click on the /blog/ directory, the permissions are set as such:
..............user..group..world
read..........x.......x.........x
write.........x
execute.....x.......x.........x
...............7.......5.........5
On the wordpress website there's a section that covers file permissions and it says "All files should be owned by your user account on your web server, and should be writable by your username. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver." and "If you want to use the built-in theme editor, all files need to be group writable."
This leads me to believe that I should change the permissions so that GROUP has write access and should be 775 instead of 755. I'm not sure if I should change the permissions of the entire /blog/ directory or if I should move lower down the tree and just change permissions of the /style.css files and any other specific files that may need write permissions.