Re: Bug#640334 ([kfreebsd] dash: faccessat implementation of "test -x" always returns true for user root) makes update-grub fail
On Mon, Sep 05, 2011 at 05:16:54AM +0200, Axel Beckert wrote:
> I just ran into this issue with update-grub, too:
> /usr/sbin/grub-mkconfig: 291: /usr/sbin/grub-mkconfig: /etc/grub.d/README: Permission denied
> There runs a "test -x /etc/grub.d/README" just before that problem
> happens and /usr/sbin/grub-mkconfig is a /bin/sh script.
> This is related to https://bugs.launchpad.net/bugs/537123 (update-grub
> fails if /etc/grub.d/README executable bit set) which seems to either
> not fixed or showed up again as a regression (see comment #4). That
> issue is also present in Debian Sid. It just showed up on kfreebsd
> because of "test -x" failing to report executable bits properly.
> Colin: Yeah, that's how I stumbled upon the fact that LP: 537123 is
> not fixed or has a regression. :-)
Thanks for noticing this. I've fixed this in GRUB upstream and will
backport to Debian and Ubuntu.
Colin Watson [firstname.lastname@example.org]