Lock files and folders in Mac OS X

Aug 11, 2010 - 3 Comments

You can easily prevent changes being made on any files or folders in Mac OS X by locking the file or folder in question.

* Select the file or folder you want locked
* Go to File > Get Info (or hit Command+i)
* Under ‘General’ click the ‘Locked’ checkbox

Close out of Get Info and the file/folder will now be locked, preventing any changes from being made to the file. If a file or folder is locked, it will also cause an alert dialog to popup if you try and delete it, saying “Item ___ is locked. Do you want to move it to the Trash anyway?”
lock file to prevent changes

You can unlock a file in Mac OS X by reversing this process and unselecting the checkbox next to “Locked”, although if you are trying to unlock a file that you do not have privileges to you will need the admin password.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Manish Patel in Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. bijan says:

    Reversing the process does not work for unlocking in Snow leopard. I have even rebooted the laptop and still cannot unlock the folders and files.

    Can anyone help me?

    Thank you

  2. bramofon says:

    This only prevents changes being made to the file.

Leave a Reply


Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates