diff --git a/manifest.toml b/manifest.toml index c7228ad..9586d8a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,8 +17,11 @@ code = "https://github.com/jcampbell1/simple-file-manager" yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = false + sso = false + disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/install b/scripts/install index 8968310..5a4489e 100755 --- a/scripts/install +++ b/scripts/install @@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #================================================= diff --git a/scripts/restore b/scripts/restore index 99cabb7..b9f054e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index bd515f6..a6ec60e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,7 @@ then ynh_setup_source --dest_dir="$install_dir" fi +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" #=================================================