No need for allowing chmod to run as root
Bug #907396 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Wishlist
|
Thierry Carrez |
Bug Description
_inject_key_into_fs and _inject_net_into_fs run, as root:
mkdir -p DIR
chown root DIR
chmod 700 DIR
Therefore those three commands are allowed to run as root.
Allowing chmod is actually useless, since we can use mkdir -m 700 instead.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/2508
Review: https:/