Change File Permissions in Mac OS X
You can instantly change file permissions in Mac OS X without getting your hands dirty in the command line by using the Finder instead. All you need to do is access the “Get Info” panel for the file in question, so locate the file you want to adjust and then proceed with the instructions.
Changing File Permissions
This is the most user friendly way to adjust file permissions in OS X:
- Select the file or app in the Finder you want to edit permissions for
- Hit Command+i to “Get Info” about the selected file (or go to File > Get Info)
- At the bottom of the Get Info window, you’ll see “Sharing & Permissions”, select the arrow to drop down the options
- Adjust permissions on a per user basis, the options being: read and write, read only, or no access
Permission Types & Explanations of Limitations
The permissions options are fairly self-descriptive in their naming, but here’s a quick overview in case you’re new to the concepts on a file level:
- Read & Write: The user can both read the file, and write to the file (make changes, modify the file, delete it, etc)
- Read Only: The user can only read the file, and is therefor unable to make changes to the file
- No Access: The user has no access to the file at all, meaning the user can not read the file or write to it
When you’re finished setting the desired permissions and privileges, close the Get Info window and the changes will take effect immediately.
Notice that you can’t make files executable through this the Get Info panels, you’ll still need to pull up the terminal for that.
One of our readers pointed out that you can use Get Info to adjust file permissions on remote files using the Mac OS X built-in FTP client, which is pretty convenient if you’re without a separate FTP app.
Generally speaking, if you’re not sure what to set, you shouldn’t mess around with file permissions since it can change the way a file or application responds to a given document. This is particularly true with system files and applications, as permissions can mean the difference between some apps working and some not. If you’re digging around because of frequent errors regarding access to files or ownership, try using the Recovery Mode method of repairing user permissions that works with OS X 10.7, 10.8, and newer, which can usually sort out those problems automatically without any manual modification of files.
You can also modify permissions from the command line using the ‘chmod’ command followed by flags or sequences and a file name, but that’s really a topic for another article.