Ludovic Courtès wrote:
> Samuel Thibault skribis:
>
>> Eric Blake, le Tue 08 May 2012 12:46:57 -0600, a écrit :
>>> http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
>>> O_NOFOLLOW
>>> If path names a symbolic link, fail and set errno to [ELOOP].
>>>
>>> I wouldn't object to
Hi,
Samuel Thibault skribis:
> Eric Blake, le Tue 08 May 2012 12:46:57 -0600, a écrit :
>> http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
>> O_NOFOLLOW
>> If path names a symbolic link, fail and set errno to [ELOOP].
>>
>> I wouldn't object to yet another O_* flag that
Eric Blake, le Tue 08 May 2012 12:46:57 -0600, a écrit :
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
> O_NOFOLLOW
> If path names a symbolic link, fail and set errno to [ELOOP].
>
> I wouldn't object to yet another O_* flag that can be used to disable
> translators,
Hello,
(From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670478 )
cp/parent-perm-race tries to copy a fifo with the --copy-contents
option. The problem is that cp still uses O_NOFOLLOW in that case,
strace shows:
open("mode/fifo", O_RDONLY|O_NOFOLLOW)
O_NOFOLLOW is actually normally meant