Permissions - Printable Version
+- Barebones CMS Forums (http://barebonescms.com/forums)
+-- Forum: Regular Forums (/forumdisplay.php?fid=1)
+--- Forum: General Discussion (/forumdisplay.php?fid=2)
+--- Thread: Permissions (/showthread.php?tid=7)
Permissions - HachiRoku - 09-12-2010 09:06 AM
I have had a few issues with creating pages etc. I am just wondering what permissions should be set on the various files/folders to make sure everything works correctly?
RE: Permissions - thruska - 09-12-2010 11:48 PM
The installer should have provided information about whether or not it was able to create new directories and files prior to installation. Each web server is configured differently, so it is entirely possible I missed something. The user the web server runs under needs to be able to create new files and directories.
Some more details about the steps you are taking and problems you are encountering may help me to track down the issue.
RE: Permissions - HachiRoku - 09-14-2010 12:47 PM
When I try to configure a new layout. I get this error also the web server I'm using is nginx.
Warning: file_put_contents(/home/wwwroot/widgets/bb_layout/layouts/My_Layout.html) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwroot/widgets/bb_layout/index.php on line 224
Unable to create layout HTML.
RE: Permissions - thruska - 09-17-2010 12:16 AM
The directory structure you install Barebones CMS to needs to be writable by the web server user. You need to either 'chmod' or 'chown' directories and files until you find a combination that works. Uploading via FTP doesn't necessarily allow the web server user to write to the directories and files you create via FTP.