2026-09-26 15:33 UTC
Advanced Programming in the #UNIX Environment
Week 3: umask(2)
In this video lecture, we'll take a look at what file ownership and permissions are applied when we create a new file. In the process, we'll learn about the concept of a process's "umask", and look at how the 'umask' shell built-in is implemented.
https://youtu.be/bRAR2bv2HSM
Replies (1)
-
@jschauma@mstdn.social 2026-09-27 16:21
Advanced Programming in the #UNIX Environment Week 3 (and 4, kind of): Union Mounts and Whiteout Files One of the file types we've encountered are those of type S_IFWHT, so called "whiteout" files. But what the hell is that?? Let's illustrate! We describe the concept of union mounts and see what happens when a file in the upper layer is removed while the same file still exists in the lower layer: a whiteout file is created to cover up the lower file. https://youtu.be/MkFExG9jhEE