Update pypofile.py
Adding user write permission in cached file
This commit is contained in:
parent
29e7cc38a7
commit
2104b53761
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class PypoFile(Thread):
|
|||
handle.write(chunk)
|
||||
|
||||
#make file world readable
|
||||
os.chmod(dst, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
|
||||
os.chmod(dst, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH)
|
||||
|
||||
if media_item['filesize'] == 0:
|
||||
file_size = self.report_file_size_and_md5_to_airtime(dst, media_item["id"], host, username)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue