Skip to content

install: match GNU on inaccessible -D parent directories - #15410

Open
Franklin-Qi wants to merge 1 commit into
uutils:mainfrom
Franklin-Qi:fix/15003-install-inaccessible-parent
Open

Franklin-Qi wants to merge 1 commit into
uutils:mainfrom
Franklin-Qi:fix/15003-install-inaccessible-parent

Conversation

@Franklin-Qi

@Franklin-Qi Franklin-Qi commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

For install -D into an existing but unwritable parent, report GNU's cannot create directory 'parent': Permission denied instead of a failed-unlink message for the destination basename. Create-directory errors now include the errno.

Closes: #15003

When -D targets a file under an existing but unwritable parent, report
"cannot create directory 'parent': Permission denied" like GNU instead
of a failed-unlink line for the destination basename. Include the errno
in create-directory failures generally.

Closes: uutils#15003

This branch has not been deployed

No deployments
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.

install: "Failed to remove existing file" prints the raw Rust error

1 participant