The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Default folder permission is 700, created from File Manager (SuPHP) - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Default folder permission is 700, created from File Manager (SuPHP) (/showthread.php?tid=2036) |
Default folder permission is 700, created from File Manager (SuPHP) - phpsns - 2011-08-04 Hi, I have installed SuPHP on my local Ubuntu PC, everything works perfectly, except that when a new folder is created from the File Manager, the permission is set to 700 by default, instead of 755 which is required so it can be read by the Apache Server. I tried changing Code: # Set override CHMOD mode to Code: # Set override CHMOD mode but didn't do the trick. Do you know where I can change the chmod settings in GS? Thanks! Default folder permission is 700, created from File Manager (SuPHP) - ccagle8 - 2011-08-04 Hmm, I see that the uplaod files have hardcoded CHMOD of 0644 in them. I've added an issue to make these read the gsconfig value if set, but that still doesnt explain how your files are being set to 0700 instead. Default folder permission is 700, created from File Manager (SuPHP) - phpsns - 2011-08-05 Just to clarify, files are set to 644 correctly, only the folder is set to 700 for some reason. Not sure if it's suPHP related or GS related. Thanks! Default folder permission is 700, created from File Manager (SuPHP) - ccagle8 - 2011-08-05 is this a folder that you created within uploads from the "create folder" link at the top of upload.php? Default folder permission is 700, created from File Manager (SuPHP) - phpsns - 2011-08-05 Yes, I used GS File Manager to create folders, using that link at the top. Default folder permission is 700, created from File Manager (SuPHP) - ccagle8 - 2011-08-06 ok, i've added it to the issue...thanks for pointing it out - http://code.google.com/p/get-simple-cms/issues/detail?id=229 Default folder permission is 700, created from File Manager (SuPHP) - Vulch - 2011-08-06 phpsns Wrote:Hi, I have installed SuPHP on my local Ubuntu PC, everything works perfectly, except that when a new folder is created from the File Manager, the permission is set to 700 by default, instead of 755 which is required so it can be read by the Apache Server.After a quick read through the SuPHP docs, what do you have in its config file for the allow_directory_group_writeable, allow_directoy_others_writeable (I suspect that's a typo and it should be allow_directory_others_writeable) and umask settings? Anthony Default folder permission is 700, created from File Manager (SuPHP) - phpsns - 2011-08-06 Vulch Wrote:After a quick read through the SuPHP docs, what do you have in its config file for the allow_directory_group_writeable, allow_directoy_others_writeable (I suspect that's a typo and it should be allow_directory_others_writeable) and umask settings? It's the same problem, regardless if these settings are changed to "true" or "false" (of course, I have restarted Apache so it will take affect). Default folder permission is 700, created from File Manager (SuPHP) - phpsns - 2011-09-05 Regarding to this problem, just in case anybody needs it, I have solved by: Code: ### 1. Open file I am using PHP Version 5.3.3-1ubuntu9.5, this might be a bug in this PHP version for not able to set file permission correctly by the mkdir() function, but forcing via chmod() once again solved the problem. |