Skip to content

cp: don't open FIFOs/devices when preserving timestamps#13351

Open
sylvestre wants to merge 2 commits into
uutils:mainfrom
sylvestre:cp-preserve-mode
Open

cp: don't open FIFOs/devices when preserving timestamps#13351
sylvestre wants to merge 2 commits into
uutils:mainfrom
sylvestre:cp-preserve-mode

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

set_file_times opens the destination before calling futimens; opening a FIFO with no writer blocks forever. Use the path-based utimensat variant for symlinks and other non-regular files.

Should make test tests/cp/preserve-mode.sh pass

set_file_times opens the destination before calling futimens; opening a
FIFO with no writer blocks forever. Use the path-based utimensat variant
for symlinks and other non-regular files.

Should make test tests/cp/preserve-mode.sh pass
@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/tail/truncate. tests/tail/truncate is passing on 'main'. Maybe you have to rebase?
Congrats! The gnu test tests/cp/preserve-mode is no longer failing!
Congrats! The gnu test tests/misc/selinux is no longer failing!
Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.
Note: The gnu test tests/env/env-signal-handler was skipped on 'main' but is now failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant