diff options
author | Fredrik Gustafsson <fredrigu@axis.com> | 2019-11-20 11:48:48 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-04-28 14:48:49 +0300 |
commit | d61c009f7a7ba9c99797855d8cd4e0a503c2fda5 (patch) | |
tree | 891bff6bb4146e17ec94dbfbdcb909e048a0fb09 /doc | |
parent | b67df9843dbdad15cb794fa26a7c216a14453690 (diff) | |
download | apk-tools-d61c009f7a7ba9c99797855d8cd4e0a503c2fda5.tar.gz apk-tools-d61c009f7a7ba9c99797855d8cd4e0a503c2fda5.tar.bz2 apk-tools-d61c009f7a7ba9c99797855d8cd4e0a503c2fda5.tar.xz apk-tools-d61c009f7a7ba9c99797855d8cd4e0a503c2fda5.zip |
apk: do not manage file ownership as non-root or when asked so
If apk is run as a non-root user, it's not possible to chown files.
Maintainers note: minor wording changes on commit log and man page.
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apk-add.8.scd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/apk-add.8.scd b/doc/apk-add.8.scd index f7b52bd..7959a99 100644 --- a/doc/apk-add.8.scd +++ b/doc/apk-add.8.scd @@ -39,6 +39,12 @@ following options: virtual package, and by deleting that package the *apk add* operation may be easily reverted later. +*--no-chown* + Do not change file owner or group. By default apk will manage the file + ownership when running as root. However, this option is turned on when + running as non-root user, as changing file ownership is not permitted + by the system then. + # AUTHORS Natanael Copa <ncopa@alpinelinux.org>++ |