Web lists-archives.com

Re: File permission confusion [Debian 9.1 with MATE]

On Tue 02 Jan 2018 at 21:03:09 +0100, Thomas Schmitt wrote:

> Brian wrote:
> > What *prevents* a user from destroying his own backup files?
> Having multiple backups. Some with long intervals between them and some
> on write-once media.

   > Big fleas have little fleas upon their backs to bite 'em,
   > And little fleas have lesser fleas, and so, ad infinitum.

Where does it end?

> Of course the user must recover from mental incapacity often enough to
> produce and verify good backups and to restore spoiled files before doing
> the next backups. Insofar "chmod -w" and "chattr +i" can help to keep the
> overall user performance sufficient for the purpose.

chattr is another ball game and involves getting the co-operation of
another entity. An ordinary  user does not have access to the "+i"