Posted on 2002-05-24
just got 2 simple questions to ask:
1) if i set a directory to be drw-r--r-- i'll get "403 forbidden" error. but if i set it to be "drw-r--r-x" i'll be able to view its contents. why is that? coz it's counter-intuitive to me. my understanding is: r stands for read, so i should be able to read the directory's contents.
2) there's a file "abc.tar.gz" that has been set "-rw-r-----". but i found out that i'm still able to click on it and download it. by setting "-rw-r-----" i tried to let people know a file called "abc.tar.gz" exists but not downloadable. so how can i let people know this file exists but disallow them from downloading?