Page MenuHomeFreeBSD

cp: Fix issues with destination directory mode.
ClosedPublic

Authored by des on May 9 2025, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 2, 11:01 PM
Unknown Object (File)
Sat, Sep 27, 10:56 PM
Unknown Object (File)
Mon, Sep 22, 11:25 PM
Unknown Object (File)
Sep 11 2025, 1:27 AM
Unknown Object (File)
Sep 8 2025, 4:22 AM
Unknown Object (File)
Sep 7 2025, 2:39 PM
Unknown Object (File)
Sep 6 2025, 11:31 AM
Unknown Object (File)
Sep 4 2025, 1:09 PM
Subscribers

Details

Summary

Ensure that we are able to enter the destination directory after we
create it, even if the current umask would normally prevent it, and
that it has the expected permissions once we are done, even if we had
to tweak them to be able to enter it.

Fixes: 82fc0d09e862
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable