mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[Fix] LDAP restauration in backup for apps
This commit is contained in:
parent
0c0db4c8a4
commit
3c1c32e08b
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ class RestoreManager():
|
||||||
filesystem.chown(app_scripts_new_path, 'admin', None, True)
|
filesystem.chown(app_scripts_new_path, 'admin', None, True)
|
||||||
|
|
||||||
# Restore permissions
|
# Restore permissions
|
||||||
if os.path.isfile(app_restore_script_in_archive):
|
if os.path.isfile(app_settings_in_archive + '/permission.ldif'):
|
||||||
os.system("slapadd -l '%s/permission.ldif'" % app_settings_in_archive)
|
os.system("slapadd -l '%s/permission.ldif'" % app_settings_in_archive)
|
||||||
else:
|
else:
|
||||||
from yunohost.tools import _get_migration_by_name
|
from yunohost.tools import _get_migration_by_name
|
||||||
|
|
Loading…
Add table
Reference in a new issue