Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default folder permission is 700, created from File Manager (SuPHP)
#9
Regarding to this problem, just in case anybody needs it, I have solved by:

Code:
### 1. Open file

admin/upload.php


### 2. Around line 84 find

if (mkdir($path . $cleanname, $chmod_value)) {


### 3. Below add

chmod($path . $cleanname, $chmod_value);

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.
Reply


Messages In This Thread
Default folder permission is 700, created from File Manager (SuPHP) - by phpsns - 2011-09-05, 01:44:33



Users browsing this thread: 1 Guest(s)