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)
Sat, Apr 4, 10:41 PM
Unknown Object (File)
Fri, Apr 3, 12:34 AM
Unknown Object (File)
Sat, Mar 28, 1:42 AM
Unknown Object (File)
Sat, Mar 28, 1:42 AM
Unknown Object (File)
Fri, Mar 27, 9:20 AM
Unknown Object (File)
Tue, Mar 17, 10:41 PM
Unknown Object (File)
Mar 5 2026, 6:30 PM
Unknown Object (File)
Feb 24 2026, 4: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