mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Change /home/yunohost.app permissions at postinstall (fix #40)
This commit is contained in:
parent
a65f90db95
commit
c018bb0710
1 changed files with 3 additions and 0 deletions
3
tools.py
3
tools.py
|
@ -257,6 +257,9 @@ def tools_postinstall(domain, password, dyndns=False):
|
|||
try: os.listdir(folder)
|
||||
except OSError: os.makedirs(folder)
|
||||
|
||||
# Change folders permissions
|
||||
os.system('chmod 755 /home/yunohost.app')
|
||||
|
||||
# Set hostname to avoid amavis bug
|
||||
if os.system('hostname -d') != 0:
|
||||
os.system('hostname yunohost.yunohost.org')
|
||||
|
|
Loading…
Add table
Reference in a new issue