function _ensure_config_dirs_exist in pxe_utils.py create tftpboot/<uuid> dir with wrong permission
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Madhuri Kumari |
Bug Description
Same to problem(http://
ironic master branch code:
def _ensure_
"""Ensure that the node's and PXE configuration directories exist.
:param node_uuid: the UUID of the node.
"""
root_dir = get_root_dir()
fileutils.
fileutils.
fileutils.
Changed in ironic: | |
importance: | Undecided → Medium |
Changed in ironic: | |
assignee: | nobody → Madhuri Kumari (madhuri-rai07) |
Changed in ironic: | |
status: | New → Triaged |
tags: | added: pxe |
Yeah, indeed by default it will be 0777 [0].
I think it's fine to make it 0755 explicit in Ironic, we even do it in DevStack when setting things up [1].
[0] https:/ /github. com/openstack/ oslo.utils/ blob/master/ oslo_utils/ fileutils. py#L30 /github. com/openstack/ ironic/ blob/b71f9a9cdf 350b392117ca645 e68ae65f4e60ce9 /devstack/ lib/ironic# L1447
[1] https:/