Any php chmod scripts? it can chmod all entire directory include subdirectories with files anything. thank you
For single file <?php // Read and write for owner, nothing for everybody else chmod("test.txt",0600); // Read and write for owner, read for everybody else chmod("test.txt",0644); // Everything for owner, read and execute for everybody else chmod("test.txt",0755); // Everything for owner, read for owner's group chmod("test.txt",0740); ?> PHP: For entire directory try $cm = chmod($curDir,0777); PHP: same principle as the files I believe
Cpanel is too slow and it's only for chmod each directory. FTP have 1998 files limit that can't chmod all.
ask host? this is cheap hosting plan so don't expect him, i have ask else support but didn't get solve. SSH not allowed FTP have 1998 files limit and chmod very slowly
The error message you got (open basedir restriction) does NOT mean that chmod isn't allowed on your server. I don't know why people are telling you that. It means you are trying to chmod a file or directory which is outside of your allowed area. You should check the path you are providing to the chmod() function and make sure it is correct.
this right about open base dir u must ask host admin to open this security set just for your account ... if all efforts failed.. maybe u need to move to new host.. regards