[pve-devel] [PATCH 02/48] Plugin : add volume_protect

Michael Rasmussen mir at datanom.net
Wed Jan 30 09:09:48 CET 2013


On Wed, 30 Jan 2013 06:12:56 +0000
Dietmar Maurer <dietmar at proxmox.com> wrote:

> 
> What is the advantage of 'chattr +i'? I usually use 'chmod -w' to
> set a file read only.
> 
chattr +i also prevents creating hard-links to the file which a
read-only file does not guaranty against. A hard-link would effectively
prevent deleting said file.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
If people concentrated on the really important things in life,
there'd be a shortage of fishing poles.
		-- Doug Larson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130130/4e2f7836/attachment.sig>


More information about the pve-devel mailing list