Page MenuHomeFreeBSD

install: handle -m +X more accurately
ClosedPublic

Authored by kevans on Oct 18 2023, 6:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 2:21 PM
Unknown Object (File)
Tue, Nov 26, 3:16 PM
Unknown Object (File)
Tue, Nov 12, 6:20 AM
Unknown Object (File)
Oct 23 2024, 8:14 AM
Unknown Object (File)
Oct 23 2024, 8:14 AM
Unknown Object (File)
Oct 23 2024, 8:14 AM
Unknown Object (File)
Oct 23 2024, 8:08 AM
Unknown Object (File)
Oct 3 2024, 8:59 PM
Subscribers

Details

Summary

As described by chmod(1), +X in the mode may be used to optionally set
the +x bit if the file is a directory if any of the execute/search bits
are set in the original mode. The latter is not applicable because we
assume -m is a fresh mask, but a functional +X could be useful in the
former case if we're passing along a common INSTALL_MODE that's designed
to install either 0644 or 0755 depending simply on whether it's a
directory or not.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54055
Build 50945: arc lint + arc unit