summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-02-10 00:38:37 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-02-10 15:39:03 +0100
commit289518005834b5844f88ce1f22265df99f7072d0 (patch)
tree34f1c31a2baff5c7c8b09149a2abf9df17cd03d5
parent3cc9efc0ed48f7053f2e92f251586ea7d3edc06a (diff)
downloadlvm2-289518005834b5844f88ce1f22265df99f7072d0.tar.gz
lvchange: snapshot thick origin permission rw/r
User is allowed to change permission for thick origin. FIXME: it's not quite clear why few others are prohibited to change.
-rw-r--r--tools/command-lines.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/command-lines.in b/tools/command-lines.in
index 8ea65ca83..c5c93abd3 100644
--- a/tools/command-lines.in
+++ b/tools/command-lines.in
@@ -250,7 +250,7 @@ RULE: --writebehind --writemostly and LV_raid1
RULE: --cachemode --cachepolicy --cachesettings and LV_cache LV_cachepool LV_writecache
RULE: --errorwhenfull --discards --zero and LV_thinpool
RULE: --permission not lv_is_external_origin lv_is_raid_metadata lv_is_raid_image LV_thinpool
-RULE: --alloc --contiguous --metadataprofile --permission --persistent --profile --readahead not lv_is_thick_origin
+RULE: --alloc --contiguous --metadataprofile --persistent --profile --readahead not lv_is_thick_origin
RULE: --alloc --discards --zero --cachemode --cachepolicy --cachesettings not lv_is_partial
# It's unfortunate that activate needs to be optionally allowed here,