geonull
Cadet
- Joined
- Jul 6, 2018
- Messages
- 4
Within the Nextcloud Web GUI, I open my music folder and I'm told: "You don't have permission to upload or create files here" -- what am I doing wrong?
Using FreeNAS 11, I've installed Nextcloud via the plugin. I go to the nextcloud_1 jail and add storage from /mnt/tank/music to /mnt/music within the jail. I then use External storage to plugin within Nextcloud to add the local folder /mnt/music as "music" in Nextcloud leaving read/write permissions for all users. In FreeNAS, the group/user owner of the music dataset is family/family added through the FreeNAS Web GUI. My understanding is that I need to open a terminal to the nextcloud_1 jail to add a group (as one way to do this) whose GID is the same as in family in the Web GUI (1000). Also within the jail terminal, add the user that "nextcloud runs as" to the group in the jail.
Using FreeNAS 11, I've installed Nextcloud via the plugin. I go to the nextcloud_1 jail and add storage from /mnt/tank/music to /mnt/music within the jail. I then use External storage to plugin within Nextcloud to add the local folder /mnt/music as "music" in Nextcloud leaving read/write permissions for all users. In FreeNAS, the group/user owner of the music dataset is family/family added through the FreeNAS Web GUI. My understanding is that I need to open a terminal to the nextcloud_1 jail to add a group (as one way to do this) whose GID is the same as in family in the Web GUI (1000). Also within the jail terminal, add the user that "nextcloud runs as" to the group in the jail.
- Is my understanding correct? Is there another way to do this?
- How do I determine what user nextcloud runs as? The jail runs as root/wheel, so within the jail, adding root to the family group to resolve the issue seems silly. (I tried out of desperation and no luck).