Page MenuHomeFreeBSD

nuageinit: Add wrappers for chmod and chown
ClosedPublic

Authored by markj on Jul 4 2025, 8:12 PM.
Tags
None
Referenced Files
F142608151: D51159.id.diff
Wed, Jan 21, 11:43 AM
Unknown Object (File)
Mon, Jan 19, 11:07 PM
Unknown Object (File)
Sat, Jan 17, 11:57 AM
Unknown Object (File)
Sat, Jan 17, 4:18 AM
Unknown Object (File)
Fri, Jan 16, 3:20 PM
Unknown Object (File)
Fri, Jan 16, 5:52 AM
Unknown Object (File)
Fri, Jan 16, 4:38 AM
Unknown Object (File)
Mon, Jan 5, 10:06 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65211
Build 62094: arc lint + arc unit