summaryrefslogtreecommitdiff
path: root/doc/apk-add.8.scd
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2019-11-20 11:48:48 +0100
committerTimo Teräs <timo.teras@iki.fi>2020-04-28 14:48:49 +0300
commitd61c009f7a7ba9c99797855d8cd4e0a503c2fda5 (patch)
tree891bff6bb4146e17ec94dbfbdcb909e048a0fb09 /doc/apk-add.8.scd
parentb67df9843dbdad15cb794fa26a7c216a14453690 (diff)
downloadapk-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/apk-add.8.scd')
-rw-r--r--doc/apk-add.8.scd6
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>++