Re: File permission confusion [Debian 9.1 with MATE]
On Mon 01 Jan 2018 at 05:23:29 (-0600), Richard Owlett wrote:
> As user "richard" I created 3 files.
> I later wanted to protect them totally from accidental change.
> For each file, I went to Properties->Permissions and changed Access
> for Owner, Group, and Others to "Read Only".
No, you set the access to "Read Permission". Each bit grants a
permission (on the file itself; its directory has to be considered
separately).
> As user "richard" I was able to delete them with Caja.
> *UNDESIRABLE*
> As "root" I changed Owner and Group to "root" leaving Access for all
> as "Read Only".
>
> User "richard" could still *DELETE THEM*!
> "Read Only" evidently does not mean what it implies.
If you read "Read Only" in Linux documentation you should consider
filing a bug against it. As for these "implications", you might be
assuming MSDOS semantics from your past experience.
Cheers,
David.
Reply to: