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

Dietmar Maurer dietmar at proxmox.com
Wed Jan 30 07:12:56 CET 2013


> +    my $cmd = ['/usr/bin/chattr', $action, $path];
> +    run_command($cmd);

What is the advantage of 'chattr +i'? I usually use 'chmod -w' to
set a file read only.




More information about the pve-devel mailing list