Nextcloud + Samba

Hello,

We want use Nextcloud with Samba and have some problem with rights on folder DATA. To work correctly Samba need 775 on this folder but Nextcloud is always change it to 770. Is there any way to stop Nextcloud change rights on folder DATA?

Please explain IN DETAIL why you believe Nextcloud would change the access rights of a file. Please also provide information about your environment, the used software versions, etc., etc.

Hmm… Becaus it is default (after installation) folder for Nextcloud.

We use latest version of Nextcloud Comunity version on Ubunty 18.

Interesting. Have you ever heard about the umask setting on Linux systems? If not, the following article might help you to understand the mechanism behind default directory/file access right masks.

https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html