[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: /etc/grub2.cfg Flagged a Potenially missing
From:       Roger Heflin <rogerheflin () gmail ! com>
Date:       2022-08-31 23:45:05
Message-ID: CAAMCDefOKVC3sNbCUKXFAm+P446g1G5rKRsMEeR0ic5Vi7M4oA () mail ! gmail ! com
[Download RAW message or body]

On Wed, Aug 31, 2022 at 6:02 PM Stephen Morris <samorris@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.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic