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:08:37 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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
on Solaris 10, from all the systems we tested on.
Anything Linux based had O_DIRECTORY since 1998.

thanks,
Pádraig





reply via email to

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