FG
💻 Software

How to lock a file against deletion but still make it writeable?

Fresh5 days ago
Mar 15, 202625590 views
Confidence Score0%
0%

Problem

I want to make a file locked against deletion but still be writeable. How do I do this? The file in question is a Truecrypt volume as a file on a NAS SMB Network share, so I don't want to accidentally delete it.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to lock a file against deletion but still make it writeable?

Low Risk

For Windows: Deny "Delete" permission on the file. Remove or deny "Delete child items" permission on the parent directory. For Unix (including OS X): Remove "Write" permission on the parent directory. Note that this will only prevent the file from b…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment