Permission Problems
Posted: Sun Nov 05, 2006 5:27 pm
Hi,
i have been having a problem running a script that uploads pictures to specific directories since a recent php update. i have been getting these errors:
Warning: chmod() [function.chmod]: Operation not permitted in /home/bfp/public_html/networkers/pictures.php on line 60
Warning: mkdir() [function.mkdir]: Permission denied in /home/bfp/public_html/networkers/pictures.php on line 62
Warning: mkdir() [function.mkdir]: No such file or directory in /home/bfp/public_html/networkers/pictures.php on line 63
Warning: chmod() [function.chmod]: Operation not permitted in /home/bfp/public_html/networkers/pictures.php on line 65
the script changes the current file to 777 permissions then creates a directory (if required) and then goes back to 644.
but i have been getting these errors for a little while now.
I have tried making everything involved 777 manually and making sure working directory is correct but it doesn't seem to help.
I don;t know if this is a server error or a problem i can solve. if it is a server error i know the people who run it so will be able to get them to sort it if i know the problem.
Many thanks
(hope this was the right forum wasn't really sure)
i have been having a problem running a script that uploads pictures to specific directories since a recent php update. i have been getting these errors:
Warning: chmod() [function.chmod]: Operation not permitted in /home/bfp/public_html/networkers/pictures.php on line 60
Warning: mkdir() [function.mkdir]: Permission denied in /home/bfp/public_html/networkers/pictures.php on line 62
Warning: mkdir() [function.mkdir]: No such file or directory in /home/bfp/public_html/networkers/pictures.php on line 63
Warning: chmod() [function.chmod]: Operation not permitted in /home/bfp/public_html/networkers/pictures.php on line 65
the script changes the current file to 777 permissions then creates a directory (if required) and then goes back to 644.
but i have been getting these errors for a little while now.
I have tried making everything involved 777 manually and making sure working directory is correct but it doesn't seem to help.
I don;t know if this is a server error or a problem i can solve. if it is a server error i know the people who run it so will be able to get them to sort it if i know the problem.
Many thanks
(hope this was the right forum wasn't really sure)