Hello everyone. I have similar problem with my permissions reseting to something default. I have created Nextcloud share to be used for its data. Then i mounted that share using /mnt/user/Nextcloud to the Nextcloud docker. The Nextcloud requires that root data folder would be owned by www-data user (id 33) and www-data group (id 33) and permission should be 770. once i set this everything works as expected. but some time in the day the root folder Nextcloud share changes its permission to 777 and ownership to user nobody and group users. this will give me an error in Nextcloud: Your data directory is readable by other users. Please change the permissions to 0770 so that the directory cannot be listed by other users. If i manually change it back all works well again.
is there some kind of scheduled task to revert share folder permissions and ownership to default? how to prevent it?