Design rationale behind search bit for directories [duplicate]

Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
This question already has an answer here:
Execute vs Read bit. How do directory permissions in Linux work?
7 answers
Execute permission can be reasoned as a special program access control mechanism. The search permission on the other hand is described like this in the POSIX specification for an error code for open
[EACCES]
Search permission is denied on a component of the path prefix, or ...
and for fchdir
[EACCES]
Search permission is denied for the directory referenced by fildes.
Why is search permission mandatory for `cd'ing or traversing down a directory? What security rationale was there? Why does it has to be separate from read permission?
permissions executable
marked as duplicate by muru, Sparhawk, Wouter Verhelst, Hauke Laging, Archemar Apr 4 at 11:51
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
-1
down vote
favorite
This question already has an answer here:
Execute vs Read bit. How do directory permissions in Linux work?
7 answers
Execute permission can be reasoned as a special program access control mechanism. The search permission on the other hand is described like this in the POSIX specification for an error code for open
[EACCES]
Search permission is denied on a component of the path prefix, or ...
and for fchdir
[EACCES]
Search permission is denied for the directory referenced by fildes.
Why is search permission mandatory for `cd'ing or traversing down a directory? What security rationale was there? Why does it has to be separate from read permission?
permissions executable
marked as duplicate by muru, Sparhawk, Wouter Verhelst, Hauke Laging, Archemar Apr 4 at 11:51
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
This question already has an answer here:
Execute vs Read bit. How do directory permissions in Linux work?
7 answers
Execute permission can be reasoned as a special program access control mechanism. The search permission on the other hand is described like this in the POSIX specification for an error code for open
[EACCES]
Search permission is denied on a component of the path prefix, or ...
and for fchdir
[EACCES]
Search permission is denied for the directory referenced by fildes.
Why is search permission mandatory for `cd'ing or traversing down a directory? What security rationale was there? Why does it has to be separate from read permission?
permissions executable
This question already has an answer here:
Execute vs Read bit. How do directory permissions in Linux work?
7 answers
Execute permission can be reasoned as a special program access control mechanism. The search permission on the other hand is described like this in the POSIX specification for an error code for open
[EACCES]
Search permission is denied on a component of the path prefix, or ...
and for fchdir
[EACCES]
Search permission is denied for the directory referenced by fildes.
Why is search permission mandatory for `cd'ing or traversing down a directory? What security rationale was there? Why does it has to be separate from read permission?
This question already has an answer here:
Execute vs Read bit. How do directory permissions in Linux work?
7 answers
permissions executable
edited Apr 3 at 12:15
asked Apr 3 at 7:08
DannyNiu
1065
1065
marked as duplicate by muru, Sparhawk, Wouter Verhelst, Hauke Laging, Archemar Apr 4 at 11:51
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by muru, Sparhawk, Wouter Verhelst, Hauke Laging, Archemar Apr 4 at 11:51
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Suppose you want to have a folder as mailbox receiving messages from others. You certainly do not want a stalker list (read permission) your directory to find scoops about you. Yet you need to allow the folder to be writable (at least to the people you know). Hence why search permission is separate from read permission, and the security rationale.
As to why is search permission mandatory for `cd'ing to and traversing down a directory, because it's been separated by design as mentioned in the first paragraph.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Suppose you want to have a folder as mailbox receiving messages from others. You certainly do not want a stalker list (read permission) your directory to find scoops about you. Yet you need to allow the folder to be writable (at least to the people you know). Hence why search permission is separate from read permission, and the security rationale.
As to why is search permission mandatory for `cd'ing to and traversing down a directory, because it's been separated by design as mentioned in the first paragraph.
add a comment |Â
up vote
0
down vote
Suppose you want to have a folder as mailbox receiving messages from others. You certainly do not want a stalker list (read permission) your directory to find scoops about you. Yet you need to allow the folder to be writable (at least to the people you know). Hence why search permission is separate from read permission, and the security rationale.
As to why is search permission mandatory for `cd'ing to and traversing down a directory, because it's been separated by design as mentioned in the first paragraph.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Suppose you want to have a folder as mailbox receiving messages from others. You certainly do not want a stalker list (read permission) your directory to find scoops about you. Yet you need to allow the folder to be writable (at least to the people you know). Hence why search permission is separate from read permission, and the security rationale.
As to why is search permission mandatory for `cd'ing to and traversing down a directory, because it's been separated by design as mentioned in the first paragraph.
Suppose you want to have a folder as mailbox receiving messages from others. You certainly do not want a stalker list (read permission) your directory to find scoops about you. Yet you need to allow the folder to be writable (at least to the people you know). Hence why search permission is separate from read permission, and the security rationale.
As to why is search permission mandatory for `cd'ing to and traversing down a directory, because it's been separated by design as mentioned in the first paragraph.
answered Apr 3 at 13:06
DannyNiu
1065
1065
add a comment |Â
add a comment |Â