4 ms·
In the UNIX world execute permission on a directory means that you can CD into it; with it removed the directory cannot be accessed (i.e. you can't get a list o
by js2 15y ago
In the UNIX world execute permission on a directory means that you can CD into it; with it removed the directory cannot be accessed (i.e. you can't get a list of the files in the directory)
Strictly speaking, you can get a list of files in the directory. i.e., opendir() and readdir() will not return "Permission denied". However, you can't access any of the files within the directory.
BTW, sounds like something you'd see in an Adobe installer.
- bh42222 15y agoStrictly speaking, you can get a list of files in the directory. i.e., opendir() and readdir() will not return "Permission denied". However, you can't access any of the files within the directory. Yes, and this is commonly used for the parent directory of a publically readable directory. Fore example, you can't read or write anything in my home directory but you can execute through it to read stuff form my public_www directory. If the execute bit form my home is removed, that breaks my webpage.