Nextcloud version (eg, 20.0.5): [Nextcloud Hub 3] (25.0.1)
Operating system and version (eg, Ubuntu 20.04): Debian (OpenMediaVault)
Apache or nginx version (eg, Apache 2.4.25): docker
PHP version (eg, 7.4): docker
So my setup is as follows: OS is OpenMediavault with Proxmox Kernel , ZFS and a RAID-Z Pool of 3 hard disks.
Home usage with 3 family users, everybody access everything principle.
From this pool SMB shares are done and are anonymously mapped from Windows and Linux.
On top of OpenMediaVault I have Nextcloud installed in Docker. Nextcloud is accessing the SMB share via “External Storage” app, at this moment using my user credentials.
I have a problem with the access rights:
- when the share is accessed via Windows or Linux all new files and folders are created inheriting the existing user rights (user: root / group: users)
- when Nextcloud (both from browser or android app) creates new files and folders they cannot be accessed by other users. I have noticed that Nextcloud creates the new files and folders as user: nobody and group: users.
My question is how can I achieve that Nextcloud creates files and folders that can be accessed by everybody.
If there is another way to achieve this, please let me know, or show me the direction (I will do the research )
Many thanks.