@JordiGH The directory permissions might make more sense if you think of a directory as holding a list of files. You need read permission to read the list, write permission to modify the list and access permission to access the list of files.
See this website to see if this helps explains directory permissions [ https://www.hackinglinuxexposed.com/articles/20030424.html ].
@sohkamyung And exec permissions? Why are they required for everything else that's actually going to be of use? And why do write permissions require exec, what's the point of that?
I feel like this will only make sense once I understand more about how the filesystem is implemented.
@JordiGH @sohkamyung The regular execute permission isn't meaningful for directories, so that bit was repurposed as "permission to access paths below this directory." One use case is letting users access their own home directory without letting them get the full list of dirs under /home by setting only the exec bit. It may seem weird, but it makes some sense in the context of early Unix systems.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!