2026-09-24 18:42 UTC
Advanced Programming in the #UNIX Environment
Week 3: struct stat st_mode
In this video segment, we're looking at how the traditional permissions defined in the `struct stat st_mode` are applied. You want to pay particular attention to the permissions on directories and the order in which they are checked. One thing that often surprises newcomers is that to delete a file, Unix does not care about the permissions on the _file_, only on the directory it's in.
https://youtu.be/vS6abFjN3ZY
Replies (1)
-
@jschauma@mstdn.social 2026-09-25 18:03
Advanced Programming in the #UNIX Environment Week 3: chmod(2) and chown(2) Having seen a lot of examples in our previous videos of creating files, changing their ownership, changing their permissions, we now focus on the system calls that are used to implement the chmod(1) and chown(8) commands. https://youtu.be/5MJmCanZDyk