View Single Post
Unread 10-16-2006, 01:02 PM   #4
niknospam
Cooling Neophyte
 
Join Date: Oct 2006
Location: Texas
Posts: 3
Re: Prevent directory listing of shared folders

Shane,

Thanks for your idea. I tried to do what you suggested. Indeed you can chmod the file/directory, but it seems to have no impact on the directory listing. The file (and directories) are owned by "admin". Doing a "ps" shows that Apache is also run as "admin". Since it is the same user, I can't think of a way to work the permissions so that Apache can't list the files. (what I'm implying is that I think the GUI uses the permissions of Apache to list the files, rather than the anonymous user who just browses the website).

What do you think?
niknospam is offline   Reply With Quote