$files = scandir('/home/kranthi/downloaded');

permissions for the dir:
$ ls -lA
drwxrwxrwx  2 apache  apache
all the files in the directory have permissions
-rw-rw-rw- 1 apache apache

when i run the above code via CLI, with user "kranthi" it is working
as expected.
but if i run the above code via http server (running as user "apache")
i am getting permission denied error. ny ideas ?


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to