lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0611221127160.15991@yvahk01.tjqt.qr>
Date:	Wed, 22 Nov 2006 11:27:40 +0100 (MET)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	James Hunt <james@...eshunt.org.uk>
cc:	linux-kernel@...r.kernel.org, akpm@...l.org, sct@...hat.com
Subject: Re: [PATCH 1/3] ext2/3/4: enable "undeletable" file attribute.


>Currently, although you can mark a file as undeletable with 'chattr'...
>
>  > touch /tmp/wibble
>  > ls -l /tmp/wibble
>  -rw-rw-r-- 1 james james 0 Nov 16 20:00 /tmp/wibble
>  > chattr +u /tmp/wibble      # mark file as undeletable
>  > lsattr /tmp/wibble
>  -u----------- /tmp/wibble
>
>... it's not honoured by the kernel:
>
>  > rm /tmp/wibble             # yikes! this should fail!!

Currently, the immutable flag controls the behavior to forbid deletion.


	-`J'
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ