IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
浏览代码

Support for chown in copy step.

master
父节点
当前提交
66bc286661
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      focker/steps.py

+ 3
- 0
focker/steps.py 查看文件

@@ -65,6 +65,9 @@ class CopyStep(object):
os.path.join(path, target))
if 'chmod' in options:
os.chmod(os.path.join(path, target), options['chmod'])
if 'chown' in options:
uid, gid = options['chown'].split(':').map(int)
os.chown(os.path.join(path, target), uid, gid)
def create_step(spec):


正在加载...
取消
保存