Help changing folder/file permissons that nextcloud writes

I’m having trouble trying to get nextcloud in unraid docker to write folders in 777 and files in 666 which is required to edit the files/folders over SMB. I have mounted the /mnt/user folder within the nextcloud docker container and using the EXternal Storages plugin to get it to work. I have gotten it to write files using nobody/users which is also required. if anyone knows how to get it to write folders using 777 and files using 666 please help! :slight_smile: