Fix permissions error when configuring nfs backend
Configuring nfs backend will generate permission error : Stderr: u'/usr/bin/cinder-rootwrap: Unauthorized command: mkdir -p This modified will fix this bug Change-Id: I424a991daff9c1761afed86db61ca13941ffd5e6 Close-bug: #1593622
This commit is contained in:
parent
025213a6b1
commit
36ce6260b3
@ -103,6 +103,9 @@ truncate: CommandFilter, truncate, root
|
||||
chmod: CommandFilter, chmod, root
|
||||
rm: CommandFilter, rm, root
|
||||
|
||||
# cinder/volume/drivers/remotefs.py
|
||||
mkdir: CommandFilter, mkdir, root
|
||||
|
||||
# cinder/volume/drivers/netapp/nfs.py:
|
||||
netapp_nfs_find: RegExpFilter, find, root, find, ^[/]*([^/\0]+(/+)?)*$, -maxdepth, \d+, -name, img-cache.*, -amin, \+\d+
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user