Design rationale behind search bit for directories [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite
1













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?







share|improve this 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.


















    up vote
    -1
    down vote

    favorite
    1













    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?







    share|improve this 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.
















      up vote
      -1
      down vote

      favorite
      1









      up vote
      -1
      down vote

      favorite
      1






      1






      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?







      share|improve this question















      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









      share|improve this question













      share|improve this question




      share|improve this question








      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.






















          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.






          share|improve this answer



























            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.






            share|improve this answer
























              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.






              share|improve this answer






















                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.






                share|improve this answer












                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 3 at 13:06









                DannyNiu

                1065




                1065












                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)