Episode 30
Permissions introduction
This episode discusses the basics of how permissions work in UNIX and how they are divided into distinct classes for Users, Groups and everyone else.
Watch episodeEpisode 31
Symbolic notation
This episode describes the symbols used by the `chmod` command to manipulate file and directory permissions in UNIX.
Watch episodeEpisode 32
Read permissions: file owner
This episode shows how to use the `chmod` command to manipulate read permissions for the owner of a file.
Watch episodeEpisode 33
Write permissions: file owner
This episode shows how to use the `chmod` command to manipulate write permissions for the owner of a file.
Watch episodeEpisode 34
Execute permissions: file owner
This episode shows how to use the `chmod` command to manipulate execute permissions for the owner of a file.
Watch episodeEpisode 35
Read permissions: directory owner
This episode shows how to use the `chmod` command to manipulate read permissions for the owner of a directory.
Watch episodeEpisode 36
Write permissions: directory owner
This episode shows how to use the `chmod` command to manipulate write permissions for the the owner of a directory.
Watch episodeEpisode 37
Execute permissions: directory owner
This episode shows how to use the `chmod` command to remove execute permissions for the owner of a directory.
Watch episodeEpisode 38
Combinations of symbolic notation
This episode shows how we can comma-delimit permissions for the various classes when using the `chmod` command.
Watch episodeEpisode 39
The X flag for a file
This episode shows how applying the X flag with the `chmod` command can be used as a shortcut for setting execute permissions for a file.
Watch episodeEpisode 40
The X flag for a directory
This episode shows how to apply the X flag when using the `chmod` command to specify execute permissions for a directory.
Watch episodeEpisode 41
The setuid flag
This episode shows how to use the `chmod` command to apply the setuid flag (or bit) for the owner of a file.
Watch episodeEpisode 42
The setgid flag
This episode shows how to use the `chmod` command to apply the setgid flag (or bit) to the group of a file.
Watch episodeEpisode 43
The sticky bit: introduction
This episode describes the sticky bit as a method for allowing directories to be append-only.
Watch episodeEpisode 44
The sticky bit: write perms & owns file
This episode shows how files can be deleted from directories when the sticky bit is set, provided that the proper ownership and permissions are already in place.
Watch episodeEpisode 45
The sticky bit: write perms but not owner
This episode shows how files cannot be deleted from directories when the sticky bit is set when the file's owner is not the same as the current user.
Watch episodeEpisode 46
The sticky bit: without execute permissions
This episode shows how the sticky bit changes depending on whether the execute permissions are set or not for a directory.
Watch episodeEpisode 47
Special attributes
This episode shows how extended attributes can be identified for a directory and how that information can be obtained using the `xattr` command.
Watch episodeEpisode 48
chmod introduction
This episode describes how the `chmod` command can use an alternative format to `symbolic notation` for specifying permissions. That alternative format is called `numeric notation` and a brief example is provided to compare the two formats.
Watch episodeEpisode 49
chmod decimal to binary
This episode describes a brief introduction to the binary numbering system and how it applies to file or directory permissions.
Watch episodeEpisode 50
chmod binary to decimal
This episode shows examples of files and directories with symbolic notation and how those same permissions can be applied using the `chmod` command while using numeric notation.
Watch episodeEpisode 51
chmod special flags
This episode describes the numeric values that are assigned for the setuid, setgid and sticky bits.
Watch episodeEpisode 52
chmod setuid
This episode shows how to use the `chmod` command to apply the setuid flag to a file using numeric notation.
Watch episodeEpisode 53
chmod setgid
This episode shows how to use the `chmod` command to apply the setgid bit to a file using numeric notation.
Watch episodeEpisode 54
chmod sticky bit
This episode shows how to use the `chmod` command to set the sticky bit for a directory using numeric notation.
Watch episode