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!
Selaa lähdekoodia

Support for chown in copy step.

master
Stanislaw Adaszewski 4 vuotta sitten
vanhempi
commit
66bc286661
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. +3
    -0
      focker/steps.py

+ 3
- 0
focker/steps.py Näytä tiedosto

@@ -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…
Peruuta
Tallenna