Add scripts from helios
This commit is contained in:
parent
f0e8c19397
commit
041861f7b4
4 changed files with 103 additions and 0 deletions
helios
14
helios/permissions-nextcloud.sh
Normal file
14
helios/permissions-nextcloud.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
find /var/www/ -type f -print0 | xargs -0 chmod 0640
|
||||
find /var/www/ -type d -print0 | xargs -0 chmod 0750
|
||||
|
||||
chown -R acmeuser:ssl-cert /etc/ssl/private
|
||||
chown root:ssl-cert /etc/ssl/private/ssl-cert-snakeoil.key
|
||||
chmod -R 750 /etc/ssl/private
|
||||
find /etc/ssl/private/ -type f -print0 | xargs -0 chmod 0640
|
||||
|
||||
chown -R www-data:www-data /var/www
|
||||
chown -R www-data:www-data /mnt/storage/nc_data
|
||||
chmod 0644 /var/www/nextcloud/.htaccess
|
||||
chmod 0644 /var/www/nextcloud/.user.ini
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue