Inodes, links and filesystem permissions
Follow a name to its inode, watch hard links, symbolic links and removals change the link count, and see which class of permission bits decides an access. Filesystems and storage · Operating systems.
After two ln commands and two rm commands the data is gone, and a link nobody touched now fails. Which rm freed the data, and which rule can refuse even a file's owner?
What you will learn
- Say what an inode holds and what a directory entry holds
- Follow the link count through ln, ln -s, rm, rename and move
- Pick the permission class that decides an access, for a file and for a directory
Lesson outline
- What an inode holds
- ln, ln -s and rm
- Rename and move
- Owner, group and other
- What a directory's bits allow
15 minutes · 5 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.