mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 11:30:23 +00:00
Fix public/os permissions
When using osimage import, the permissions on os directory were too strict. Relax permissions on public/os
This commit is contained in:
parent
05983201ee
commit
6471599bb2
@ -394,9 +394,9 @@ class MediaImporter(object):
|
||||
dirname = '/var/lib/confluent/public/os/{0}'.format(profname)
|
||||
if os.path.exists(dirname):
|
||||
continue
|
||||
oumask = os.umask(0o22)
|
||||
shutil.copytree(srcname, dirname)
|
||||
profdata = None
|
||||
oumask = os.umask(0o22)
|
||||
try:
|
||||
os.makedirs('{0}/boot/initramfs'.format(dirname), 0o755)
|
||||
except OSError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user