I’d like to change the permissions for the
chown -R www-data:www-data /var/www/nextcloud
so i can edit things like upload-restrictions, etc.
Is there any disadvantage through this Action?
Thanks for your responses!
What are you trying to do? Increase max upload size?
You really should follow the “Setting Strong Directory Permissions” outlined in the documentation for production deployments. However, short deviations from this (for updates, changes) should be fine, but they do open security holes, namely if the webserver gets compromised.
Two Points why I wanna do this -
- To increase the max. upload size over the webinterface
- To bind the skeleton-folder (/var/www/nextcloud/core/skeleton) in as an external storage to make it available for admins.
What you are trying to adjust are settings not folder permission which is what you try to do. The settings for your Skeleton-folder is in your config.php file and the max upload can be increase via the .htaccess file in your root directory.
I know what im trying to change Id just like to know if any security-issues are caused by changing the owner of the whole /nextcloud folder through this.
But ill refer to this: