MacOS File Settings: the difference between Locked and Sharing & Permissions
It’s an easy matter to overwrite a file in MacOS that you want to keep unchanged. One way to keep this: Select the file in the Finder, pick File > Get Info, and check the Locked box. A padlock icon appears on the file’s icon or review. Locking a file doesn’t forestall tossing it into the Trash. Yet you can’t be unfilled the Trash with a secured file it.
Our reader John noticed that when he utilizes the Locked option, files stored in iCloud Drive don’t synchronize this Locked property to alternate gadgets. Be that as it may, utilizing Sharing and Permissions in getting Info to set the file to have the benefit “Read Only” was diligent wherever it adjusted.
He wondered: What’s the distinction between these two settings? And for what reason does one match up and the other not?
File privileges and locking files
The Locked status predates macOS and OS X and appears to have been carried over for compatibility with OS X and never thought of again. The Locked property appears to not be stored with the package of permissions and access control records. That is part of a file or directory’s metadata in macOS. Hence, when you bolt a file, it affects only the instance of the file on a particular Mac.
Indicating how Apple really hasn’t paid attention to this feature, if a bolted file is matched up through iCloud and then altered on another machine, the file on the original Mac is overwritten and left opened.
Jeff tried utilizing a file-level benefit setting for the file, setting his proprietorship permissions to Read Only. Although it superseded by the file’s proprietor (as dictated by a framework level client) and by anyone with macOS administrator privileges.
To change privileges on a file:
- Select the file in the Finder.
- Pick File > Get Info.
- If not appearing, expand the Sharing and Permissions section.
- In the event that the Name field has an account name and “(Me)” after it, you can utilize the popup menus alongside each section under Name and change the Privilege popup. In this case, simply change the one beside “your name (Me)” to Read Only.
On the off chance that the Name field doesn’t appear “(Me)” or you can’t choose any of the popup menus, tap the secure icon in the lower-right corner, and then enter an administrator account and password to finish stage 4.
There’s no Apply button or other advance, nor any visual indication of the change.
Read-only is the Finder representation of fundamental Unix permissions, which Apple enhanced. In plain old UNIX, a file or envelope/directory has a solitary client, gathering, and world permissions. Those can be set for reading, compose, execute, and some different permissions. Apple’s enhancements given you a chance to attach many clients to a solitary file or envelope, and allow for more elusive metadata that controls access, too.
I haven’t utilized the Locked option for quite a long time; I’d sort of overlooked it even exists. That may be a smart thought. Far and away superior? Apple could deprecate file locking by demonstrating a warning when you check the Locked box, and by offering a wizard to enable individuals to migrate Locked status to Read Only. At that point, it could evacuate it in a future release.
Ask Mac 911
We accumulated a rundown of the questions. Get ask for most habitually along with answers and connections to segments. If not, we’re always searching for new issues to unravel! Email yours to firstname.lastname@example.org including screen captures as appropriate. Whether you want your full name utilized. Each question won’t be answered. We don’t answer to email, and we cannot give coordinate investigating advice.