On Wed, Aug 31, 2022 at 6:02 PM Stephen Morris <samorris(a)netspace.net.au> wrote:
On 30/8/22 01:16, Roger Heflin wrote:
> sudo/root is required to access the grub subdirectory because the
> permissions are locked down.
>
> I would guess since there can be encrypted grub passwords (and
> possibly other similar stuff) in there that is why it is locked down.
I did check the acl on the folder and noticed it was locked down to
root. I could put an acl on the folder to make the folder readable by me
without enabling reading of the contents of the files in that folder,
but is that the only way to stop ls from flagging a file as deleted when
the parent folder is locked down?
regards,
Steve
Pretty much.
From the command run as a real user the file does not exist because of
permissions, but the command has no way to know that so it is simply
missing.