Elektrine lite

← Feed

@jschauma@mstdn.social

2026-09-23 21:10 UTC

Advanced Programming in the #UNIX Environment Week 3: UIDs and GIDs In this video lecture, we'll learn a little bit more about file ownership and the user IDs of a process (real, effective, saved) by looking at the seteuid(2) and setuid(2) system calls and experimenting with setting the setuid bits and observe the file access we gain. https://youtu.be/YlcF3ncTQpo

Replies (1)

  • @jschauma@mstdn.social 2026-09-24 18:42

    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

    Open ##4895841