This is a quick question, I have tried to find an answer but it's been unsuccesful.

Is there a way to set different default permissions for files and for directories?

To illustrate better, let's say I have a /project samba share. I want to configure that share so that new files created in it have the file permissions of 660, and new directories are created with 750.

I have thought of umask, acls, but I dont really know how to accomplish this.

Thanks in advance for your help.