Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com –  Andrew Lambert Feb 18 '12 at 5:13
    
@Amazed It's not programming related. –  Daniel Beck Jul 14 '12 at 12:50

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.