Skip to content

Commit

Permalink
Remove user and group info from tar elements
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed May 11, 2022
1 parent 0046913 commit 7974a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eko/output/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def __setitem__(self, q2: float, op: Optional[Operator], compress: bool = True):
info.size = len(stream.getbuffer())
info.mtime = time.time()
info.mode = 436
info.uname = os.getlogin()
info.gname = os.getlogin()
# info.uname = os.getlogin()
# info.gname = os.getlogin()

with tarfile.open(self.path, "a") as tar:
tar.addfile(info, fileobj=stream)
Expand Down

0 comments on commit 7974a56

Please sign in to comment.