summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2019-03-06 10:07:16 -0500
committerEric Harney <eharney@redhat.com>2019-03-06 10:08:10 -0500
commitade7d89c2e9eb317f93c128a0b7bf09fd945c960 (patch)
tree8d50b956ddc5677af5580a9f474c1c7f9e015b4e /etc
parentf5a733c084dfb3d5db2f8184ad8692b67f3f5092 (diff)
downloadcinder-ade7d89c2e9eb317f93c128a0b7bf09fd945c960.tar.gz
Revert "Remove truncate from rootwrap filters"
This reverts commit a62c9dfdd41ab0be8bedd99ca39b82701d73ef4f. This did not account for cases where truncate is called w/o elevated privileges. Related-Bug: #1818504 Change-Id: I3cb85be854e68fda525cfebe254ce7c85d8e3d37
Diffstat (limited to 'etc')
-rw-r--r--etc/cinder/rootwrap.d/volume.filters1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/cinder/rootwrap.d/volume.filters b/etc/cinder/rootwrap.d/volume.filters
index 319e223d9..713807f48 100644
--- a/etc/cinder/rootwrap.d/volume.filters
+++ b/etc/cinder/rootwrap.d/volume.filters
@@ -86,6 +86,7 @@ stat: CommandFilter, stat, root
mount: CommandFilter, mount, root
df: CommandFilter, df, root
du: CommandFilter, du, root
+truncate: CommandFilter, truncate, root
chmod: CommandFilter, chmod, root
rm: CommandFilter, rm, root