Ensure write permissions in nextdata volume root #115

Closed
opened 2026-08-18 12:52:19 +00:00 by simon · 1 comment
Member

We had issues with Nextcloud when restarting our VMs where the permissions on the root path of the nextdata volume got changed to the root user.

While the core issue probably lays in our system update routine, ensuring the correct access to the root directory (not recursively) would make the app itself more resilient against this.

Example solution in wordpress:

chown -R --from=root:root www-data:www-data /var/www/html/wp-content/

Proposal to add:

chown --from=root:root www-data:www-data /var/www/html/data/
We had issues with Nextcloud when restarting our VMs where the permissions on the root path of the nextdata volume got changed to the root user. While the core issue probably lays in our system update routine, ensuring the correct access to the root directory (not recursively) would make the app itself more resilient against this. Example solution in wordpress: https://git.coopcloud.tech/coop-cloud/wordpress/src/commit/fadb247d471f5241adf35e5e81427735a8b78b55/entrypoint.sh.tmpl#L57 Proposal to add: ``` chown --from=root:root www-data:www-data /var/www/html/data/ ```
Owner

Duplicate, #116

Duplicate, #116
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/nextcloud#115