mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[microdecision] Archive folder might not exist
This commit is contained in:
parent
5a9a909c56
commit
8b3e645578
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ class MyMigration(Migration):
|
|||
|
||||
# Update local archives folder permissions, so that
|
||||
# admin can scp archives out of the server
|
||||
if os.path.isdir(ARCHIVES_PATH):
|
||||
chown(ARCHIVES_PATH, uid="admin", gid="root")
|
||||
|
||||
def backward(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue