bug-coreutils
[Top][All Lists]
Advanced

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

bug#25342: GNU coreutils: race condition in "ln -f source dest"


From: Paul Eggert
Subject: bug#25342: GNU coreutils: race condition in "ln -f source dest"
Date: Wed, 4 Jan 2017 23:57:29 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Mirsad Goran Todorovac wrote:
Please consider the trace below.

As I don't know what you're tracing, I don't know what to consider.

But really, the basic idea is simple: renameat mishandles the case where old and new names are already hard links, and any code based on renameat needs to work around this problem. (We can't easily change renameat's behavior, as the behavior is required by POSIX.)





reply via email to

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