User Permissions - Nextcloud - FreeNAS

KACMAG

Cadet
Joined
Mar 10, 2020
Messages
9
Hi!
I am trying to set user permissions for dataset, but i don't know what user i am using for nextcloud jail/plugin
How to check it?

I tried user named "www" but it didn't work

I need it becouse my external storage sharing by link don't work properly, like in this thread:

Thanks!
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hey Kacmag,

you need to identify the UID your Nextcloud web server is using. It is that one that you need to use for ownership and permissions. Here, mine is running as UID 33 (www-data in the host system). So for that, I had to change ownership for everything to that UID 33. Because my data storage is mapped over NFS between FreeNAS and my docker host, the UID and not the name is what is important. Actually, in Alpine, that UID 33 is already for another user, so ownership looks weird from that host. It decodes UID 33 as being that guy while FreeNAS and Nextcloud named it www-data.

Also, I remember that I had to go in the legacy UI to create that user with a specific UID. I do not know if you can now force the UID (and force it below 1000) from the new WebUI.
 
Top