Skip to content

Commit

Permalink
make sure only the appstore user can read downloaded releases
Browse files Browse the repository at this point in the history
  • Loading branch information
adsworth committed Jun 23, 2016
1 parent 0372d3a commit 1d93a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcloudappstore/core/api/v1/release/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_archive(self, url: str, target_directory: str, timeout: int = 60,
if target_directory is None:
file = tempfile.NamedTemporaryFile(delete=False)
else:
os.makedirs(target_directory, mode=0o755, exist_ok=True)
os.makedirs(target_directory, mode=0o700, exist_ok=True)
file = tempfile.NamedTemporaryFile(dir=target_directory,
delete=False)

Expand Down

0 comments on commit 1d93a3f

Please sign in to comment.