Page MenuHomeFreeBSD

cp: Fix issues with destination directory mode.
ClosedPublic

Authored by des on Fri, May 9, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 12, 8:18 PM
Unknown Object (File)
Sat, May 10, 9:23 AM
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