Re: [PATCH 1/3] ext2/3/4: enable "undeletable" file attribute.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arnd Bergmann <[email protected]> writes:
> On Tuesday 21 November 2006 23:16, James Hunt wrote:
> > ... it's not honoured by the kernel:
> > 
> >   > rm /tmp/wibble             # yikes! this should fail!!
>
> I always thought of the term 'undeletable' to mean that you can
> undelete the file (restore it) after it has been deleted. Of course,
> this is not implemented either, but it means something very different
> than what your patch does.

That is indeed what the documented (but not implemented) meaning is.
>From chattr(1):

|       When a file with the ‘u’ attribute set is deleted, its contents
|       are saved. This allows the user to ask for its undeletion.

So the meaning is undelete-able, not un-deletable.

-- 
ilmari
"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux