GNU bug report logs -
#70714
realpath no error for unreadable-symlink
Previous Next
To reply to this bug, email your comments to 70714 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#70714
; Package
coreutils
.
(Thu, 02 May 2024 12:46:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nineteendo INC <nineteendo19d0 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Thu, 02 May 2024 12:46:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
coreutils version: stable 9.5 (bottled)
OS version: macOS 13.6.6 (22G630)
`realpath` doesn’t behave correctly for unreadable symlinks:
wannes <at> Stefans-iMac ~ % ln -s . src
wannes <at> Stefans-iMac ~ % grealpath -e src/..
/Users
wannes <at> Stefans-iMac ~ % chmod -h 000 src
wannes <at> Stefans-iMac ~ % grealpath -e src/..
/Users/wannes
Expected behaviour:
wannes <at> Stefans-iMac ~ % grealpath -e src/..
grealpath: src/..: Permission denied
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#70714
; Package
coreutils
.
(Thu, 02 May 2024 13:45:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 70714 <at> debbugs.gnu.org (full text, mbox):
On 02/05/2024 07:16, Nineteendo INC wrote:
> coreutils version: stable 9.5 (bottled)
> OS version: macOS 13.6.6 (22G630)
>
> `realpath` doesn’t behave correctly for unreadable symlinks:
>
> wannes <at> Stefans-iMac ~ % ln -s . src
> wannes <at> Stefans-iMac ~ % grealpath -e src/..
> /Users
> wannes <at> Stefans-iMac ~ % chmod -h 000 src
> wannes <at> Stefans-iMac ~ % grealpath -e src/..
> /Users/wannes
>
> Expected behaviour:
>
> wannes <at> Stefans-iMac ~ % grealpath -e src/..
> grealpath: src/..: Permission denied
Right, looks like we'll have to cater for EACCES on darwin.
I'll have a look
This bug report was last modified 1 year and 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.