diff options
author | midipix <writeonce@midipix.org> | 2020-05-13 03:51:57 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-14 07:18:54 +0000 |
commit | de8f1c50cdd48b3f06226de300e9d2cfb440f484 (patch) | |
tree | 73d7efbb715a6575f61ae3beaef66cf4a72096fe /src/driver | |
parent | 5e0c62a54d4fca82bca0abfb08b9eac4d201ddfe (diff) | |
download | ntux-de8f1c50cdd48b3f06226de300e9d2cfb440f484.tar.bz2 ntux-de8f1c50cdd48b3f06226de300e9d2cfb440f484.tar.xz |
driver: chmod: added --owner and --group support.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ntux_driver_ctx.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c index 8445b3e..efb1c37 100644 --- a/src/driver/ntux_driver_ctx.c +++ b/src/driver/ntux_driver_ctx.c @@ -232,6 +232,14 @@ static int ntux_cctx_update( cctx->drvflags |= NTUX_DRIVER_CHANGES; break; + case TAG_OWNER: + cctx->owner = entry->arg; + break; + + case TAG_GROUP: + cctx->group = entry->arg; + break; + case TAG_ROOTED: cctx->drvflags &= ~(uint64_t)NTUX_DRIVER_ROOTLESS; cctx->drvflags |= NTUX_DRIVER_ROOTED; |