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!
Przeglądaj źródła

Support for chown in copy step.

master
rodzic
commit
66bc286661
1 zmienionych plików z 3 dodań i 0 usunięć
  1. +3
    -0
      focker/steps.py

+ 3
- 0
focker/steps.py Wyświetl plik

@@ -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):


Ładowanie…
Anuluj
Zapisz