Page MenuHomeFreeBSD

nuageinit: Add wrappers for chmod and chown
ClosedPublic

Authored by markj on Jul 4 2025, 8:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 5, 10:06 PM
Unknown Object (File)
Sat, Dec 20, 4:38 PM
Unknown Object (File)
Dec 13 2025, 10:14 AM
Unknown Object (File)
Dec 10 2025, 2:16 PM
Unknown Object (File)
Dec 8 2025, 8:32 PM
Unknown Object (File)
Dec 1 2025, 2:21 AM
Unknown Object (File)
Nov 29 2025, 11:35 PM
Unknown Object (File)
Nov 26 2025, 3:49 AM
Subscribers

Details

Summary

In the wrappers, check for errors and abort if one is raised. At some
point it may be useful to have a mechanism to ignore errors, but I'm not
sure yet how that should look.

For chmod, let the mode be specified as an octal number, otherwise it's
quite hard to understand what's happening. Note that this must be
specified as a string, otherwise tonumber() will raise an error.

Diff Detail

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