folder execution defined
Hi. I'm confused as to what it means to execute a folder, that is, what are the various ways a folder can be executed? What are you allowing to be done to a folder when you grant execute permissions?
|
If you grant execute permissions to a directory, people can cd to it.
|
From 'man chmod':
Quote:
|
So execute, with regard to folders, has only to do with navigating the directory tree? Nothing to do with reading and writing files and directories in that particular folder?
|
Reading and writing are controlled by the 'r' and 'w' modes, respectively.
|
If you can execute a folder, it's essentially some kind of application. Is a folder a kind of service that serves files?
|
Quote:
As previously described, the 'x' permission provides search capability on a folder (directory). That means you can cd to it or ls the contents. Nothing more. |
So execution in terms of folders is NOT the same sense of executing an executable file, or "running" an application?
|
That's correct. The man page clearly defines the difference in behavior for files and directories.
|
All times are GMT -5. The time now is 04:04 PM. |