Lesson 27. File Permissions and Flags

Time

This lesson takes approximately 1 hour to complete.

Goals

Learn how file modes other than read and write can be used to implement file usage policies

Set and remove execute permissions on a script or program, and understand that the program cannot be run without the execute bit set

Set and remove execute (search) permission on a folder, and demonstrate the effect on a user’s ability to list the contents of that folder

Use chmod to set the sticky bit on a folder, and understand that a user cannot delete or rename files owned by others in that folder

Use chflags to set flags

Understand what a umask is and what role it has in setting permissions policy for new files

By now you have learned ...

Get Apple Training Series: Mac OS X System Administration Reference, Volume 1 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.