PDA

View Full Version : Web2 permission


pietjuhklaas
11th April 2011, 09:43
Hello,

I would like to grant the linux user web2 to have full read/write permissions on /var/www/clients/ and its subfolders without changing the original permissions on it. The reason i want this is for listing files from that folder from my website. I already changed the phpopendir to /var/www/clients and now i'm able to display the contents, but i'm not able to get the filesize Warning: filesize(): stat failed for:

Any help would be appreciated.

Regards maarten

ncoc.nl
17th April 2011, 15:32
Maybe this webpage will answer your question:

http://www.howtogeek.com/howto/programming/php-display-a-customizeable-list-of-files-in-a-directory/