]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: make 'cache drop' command require 'executable' permission 24270/head
authorMohamad Gebai <mgebai@suse.com>
Wed, 10 Oct 2018 15:41:21 +0000 (11:41 -0400)
committerMohamad Gebai <mgebai@suse.com>
Wed, 10 Oct 2018 15:46:54 +0000 (11:46 -0400)
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
src/osd/OSD.cc

index 79eb1ec2311a853e0dfbbeeb65b45abd3a72afb2..330a69f9699c2ab25bb42c36454c64844536ebd9 100644 (file)
@@ -6022,7 +6022,7 @@ COMMAND("smart name=devid,type=CephString,req=False",
         "osd", "rw", "cli,rest")
 COMMAND("cache drop",
         "Drop all OSD caches",
-        "osd", "rw", "cli,rest")
+        "osd", "rwx", "cli,rest")
 COMMAND("cache status",
         "Get OSD caches statistics",
         "osd", "r", "cli,rest")