itid
Verified User
I have a script for uploading/deleting images in various directories.
The script somehow changed the permissions for one of the directories, and doesn't work for this dir.
Using FTP I got "permission denied" as well.
The website still displayed the images.
So, ....
In FTP I chmoded the permission to 755.
I could then access the dir via FTP.
Script then began to display the following sort of thing:
Warning: opendir(corporates/111) [function.opendir]: failed to open dir: Permission denied in /usr/home/permanent/domains/pwinsw.org.au/public_html/photos.php on line 431
And now the website appears to take the time to load the images, the path is correct etc., but they are all "Not available".
Something to do with umask?
umask is 022.
Urgently need help
The script somehow changed the permissions for one of the directories, and doesn't work for this dir.
Using FTP I got "permission denied" as well.
The website still displayed the images.
So, ....
In FTP I chmoded the permission to 755.
I could then access the dir via FTP.
Script then began to display the following sort of thing:
Warning: opendir(corporates/111) [function.opendir]: failed to open dir: Permission denied in /usr/home/permanent/domains/pwinsw.org.au/public_html/photos.php on line 431
And now the website appears to take the time to load the images, the path is correct etc., but they are all "Not available".
Something to do with umask?
umask is 022.
Urgently need help