bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34876: [bug-coreutils] ln 8.31 on Solaris 10 is partially broken


From: Pádraig Brady
Subject: bug#34876: [bug-coreutils] ln 8.31 on Solaris 10 is partially broken
Date: Sat, 16 Mar 2019 14:24:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 16/03/19 14:08, Pádraig Brady wrote:
> On 16/03/19 11:27, Paul Eggert wrote:
>> Nelson H. F. Beebe wrote:
>>
>>> touch foo bar && ls -ld foo bar && ln -f foo bar
>>> ...
>>> -rw-rw-r-- 1 bowman sysstaff 0 Mar 15 15:55 bar
>>> -rw-rw-r-- 1 bowman sysstaff 0 Mar 15 15:55 foo
>>> ln: failed to access 'bar/foo': Not a directory
>>
>> Thanks for reporting that. It's a serious error on Solaris 10, or on any 
>> platform lacking support for the O_DIRECTORY flag standardized in 
>> POSIX.1-2008.
>>
>> I installed the attached patch.
> 
> Looks good thanks.
> 
>> We should probably generate a new coreutils release soon.
> 
> Well not if just Solaris 10 is impacted I think.
> Old FreeBSD may be affected, but I only see ln failures

Very old FreeBSD https://github.com/freebsd/freebsd/commit/9ab7de87

> on Solaris 10, from all the systems we tested on.
> Anything Linux based had O_DIRECTORY since 1998.

I pushed a NEWS entry for the fix:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.31-5-g4a21102

cheers,
Pádraig






reply via email to

[Prev in Thread] Current Thread [Next in Thread]