Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Unlock locked files from the terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unlock locked files from the terminal
Authored by: vanetten on Dec 16, '02 09:47:26PM

chflags will let you lock and unlock files.

chflags uchg ~/Desktop/test.txt

this would lock a file

chflags nouchg ~/Desktop/test.txt

this would unlock the file

[ Reply to This | # ]