Ensure directories in the tree of anything included with --include are defined in the state and manifest so we make dirs before we try to create files
This commit is contained in:
parent
781efef467
commit
c88405ef01
5 changed files with 170 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ def stat_triplet(path: str) -> Tuple[str, str, str]:
|
|||
mode is a zero-padded octal string (e.g. "0644").
|
||||
"""
|
||||
st = os.stat(path, follow_symlinks=True)
|
||||
mode = oct(st.st_mode & 0o777)[2:].zfill(4)
|
||||
mode = oct(st.st_mode & 0o7777)[2:].zfill(4)
|
||||
|
||||
import grp
|
||||
import pwd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue