Hi, thanks for your reply.
I am sorry I don't understand it though. I don't know what you mean by sharing in private or public mode.
When using Unassigned Devices Plugin to mount the share I get this.
drwxrwxrwx 2 nobody users 0 Jul 8 09:16 /mnt/remotes/SERVERDNS_nextcloud/
(because it is using file_mode=0777,dir_mode=0777)
When I SSH to the Unraid and run this command the mount is using the modes correctly (for my scenario)
mount -t cifs //SERVERDNS/nextcloud /mnt/remotes/SERVERDNS_nextcloud -o rw,relatime,vers=3.1.1,cache=strict,username=MYUSERNAME,domain=WORKGROUP,uid=99,noforceuid,gid=100,noforcegid,addr=192.168.2.50,file_mode=0770,dir_mode=0770,iocharset=utf8,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1
drwxrwx--- 2 nobody users 0 Jul 8 09:16 /mnt/remotes/SERVERDNS_nextcloud/
If I can do it manually it surely can be automated, the question is how? Because I don't want to be doing SSH everytime Unraid reboots :D
I don´t see any way to provide mount parameters to Unassigned devices plugin.
Could you please point me to a way to automate this mount with the proper parameters?
Thanks.