Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does Locking a folder prevent programs from also writing to files / creating files / deleteing files in that folder and its subfolders?

Or is it only locking UI actions?

share|improve this question
Is this a programming question? If so it would be better suited to – Andrew Lambert Feb 18 '12 at 5:13
@Amazed It's not programming related. – Daniel Beck Jul 14 '12 at 12:50
up vote 1 down vote accepted

Locking via the UI does prevent other programs/processes/users from changing the folder's content, in any way.

A simple test you can run to prove it to yourself: open terminal and navigate to a folder. In Finder, click Command+I on that folder and lock it. In terminal, type cat > test. You'd get an error message. Unlock the folder and re-run the command in terminal - it now works.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .