I have installed jellyfin and want to point it to a Nextcloud folder, where I’ve uploaded all my videos (via Nextcloud obviously). The folder in question is: /home/yunohost.app/nextcloud/data/christian/Movie’
The problem is that despite setting all the right permissions I cannot get beyond ‘/home/yunohost.app/nextcloud’ Even though I did a desperate chmod -R 777 on the ‘/home/yunohost.app/nextcloud/data’ directory, no one except sudo can access the folder. There seems to be some additional security layer at work that I haven’t been able to defeat yet. Guidance would be appreciated.
So everyone should have at least read access, but no dice. (Permissions are also set via chmod 754) It still shows a “permission denied”. Any further pointers would be appreciated.
Edit: This is weird: If I do a sudo chmod 754 /home/yunohost.app/nextcloud/data and then a ls -l the output is this:
drwxr-xr–+ 6 nextcloud nextcloud 4096 Apr 20 2023 data
If I want to cd into the the folder it still says “permission denied”. If I the do ls -l again I get this:
drwxrwx—+ 6 nextcloud nextcloud 4096 Apr 20 2023 data
The read permissions are automatically removed for the “Other” category. WTF? Is there a background process that resets permissions on certain folders?