Skip to content

Commit

Permalink
Merge "Emit log when copying file/directory permissions" into stable/…
Browse files Browse the repository at this point in the history
…wallaby
  • Loading branch information
Zuul authored and openstack-gerrit committed Apr 6, 2022
2 parents f5c243e + 5943f32 commit 2b73f79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/base/set_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def _set_properties(self, source, dest):
self._set_properties_from_conf(dest)

def _set_properties_from_file(self, source, dest):
LOG.info('Copying permissions from %s onto %s', source, dest)
shutil.copystat(source, dest)
stat = os.stat(source)
os.chown(dest, stat.st_uid, stat.st_gid)
Expand Down

0 comments on commit 2b73f79

Please sign in to comment.