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, Jul 10, 11:30 PM
Unknown Object (File)
Wed, Jul 2, 6:07 PM
Unknown Object (File)
Sun, Jun 22, 7:22 PM
Unknown Object (File)
Jun 16 2025, 6:54 AM
Unknown Object (File)
Jun 14 2025, 8:17 AM
Unknown Object (File)
Jun 13 2025, 2:43 PM
Unknown Object (File)
Jun 12 2025, 2:43 PM
Unknown Object (File)
Jun 9 2025, 9:04 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