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
Stanislaw Adaszewski преди 4 години
родител
ревизия
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):


Loading…
Отказ
Запис