- A new file gets the process's primary group; setgid (
s) on a directory gives new files the directory's group. - A new file's mode is the requested 666 or 777 minus the letters of the umask; logging in sets the mask, and
~/.profilechanges it. - Sticky (
t) leaves deleting a file to its owner; on Ubuntu it gets in the way of appending to others' files, so a directory for editing together needs only setgid. - plan.txt from the start of the lesson got alice's personal group: bob saw the others triple and could not append to the file, yet he deleted it with
won a directory without sticky.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson