opnsense-src/libexec/nuageinit
Mark Johnston 667ef8875b nuageinit: Add wrappers for chmod and chown
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
hard to understand what's happening.  Note that this must be specified
as a string, otherwise tonumber() will raise an error.

Reviewed by:	bapt
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D51159
2025-07-05 14:54:07 +00:00
..
tests nuageinit: enhance sudo support 2025-06-26 14:34:51 +02:00
Makefile nuageinit: use lyaml to parse yaml files 2025-06-26 09:24:15 +02:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
nuage.lua nuageinit: Add wrappers for chmod and chown 2025-07-05 14:54:07 +00:00
nuageinit nuageinit: Add wrappers for chmod and chown 2025-07-05 14:54:07 +00:00
nuageinit.7 nuageinit: enhance sudo support 2025-06-26 14:34:51 +02:00