tag: file permissions

setuid, setgid, and sticky bit in Linux and Unix (macOS)
Maria D. Campbell
Learn how setuid, setgid, and sticky bit work in Linux and macOS — what they do, how to set and remove them with chmod, and when to use each one.
#chmod, #file permissions, #linux, #linux mint, #unix, #macOS, #principle of least privilege, #special permissions, #setuid, #setgid, #sticky bit

Changing permissions using symbolic mode and numeric mode in Linux and Unix (macOS)
Maria D. Campbell
A practical walkthrough of the chmod command in both symbolic and numeric mode, with real terminal output from Linux Mint and macOS.
#linux, #macOS, #unix, #file permissions, #numeric mode, #symbolic mode

Shell script for turning your macOS laptop's Wi-Fi off and on
Maria D. Campbell
A step-by-step walkthrough of writing a zsh script to toggle macOS Wi-Fi off and on, including the chmod permissions needed to run it.
#chmod, #command line, #file permissions, #macOS, #networksetup, #shell scripting, #wifi, #zsh