I’m setting up Nextcloud AIO and want to have the data folder on my samba share.
I tried using NFS and it worked like a charm (the problem is that my Synology NAS cannot use NFS for an encrypted share, only samba).
I have entered a location for the data folder in the docker-compose file (from AIO page).
and previously I mounted using NFS on that location.
Now, when I mount using SAMBA, it is not possible to delete files, only create.
(It is possible to delete files in user folder, but not under Group folders, only create).
This is the mount information from fstab: //192.168.x.x/nextcloud/data /data cifs credentials=/etc/win-credentials,uid=33,gid=33,dir_mode=0770,file_mode=0770,vers=2.0 0 0
On the NAS, the user in the credential file above owns everything,
but I mount as uid/gid 33 for NC to be happy.
All created files with NC is owned by the user in credentials file when checking on the NAS…
Nextcloud starts happily and everything works, except deleting files.