Skip to content

Commit

Permalink
coreos-ostree-importer: remove permissions check for now
Browse files Browse the repository at this point in the history
We need to update a few pieces to set their umask to 0002 when modifying
files in the repos. robosignatory and pungi are two that still need to
be updated. For now let's just print the warnings and not error out.
  • Loading branch information
dustymabe committed Apr 9, 2020
1 parent b23ced2 commit d10ac43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coreos-ostree-importer/coreos_ostree_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def assert_dirs_permissions(path: str):
logger.warning(f"Directory {d} does not have gid=263!")
founderror = True
if founderror:
raise Exception(f"Found directories with unexpected permissions/ownership")
print(f"XXX: Found directories with unexpected permissions/ownership")
#raise Exception(f"Found directories with unexpected permissions/ownership")


def runcmd(cmd: list, **kwargs: int) -> subprocess.CompletedProcess:
Expand Down

0 comments on commit d10ac43

Please sign in to comment.