Change the default permissions for new files

umask

Check the umask value for the current directory:

umask

Change the default umask value for the current directory, for example:

umask u=,g=w,o=rwx

setfacl

setfacl -d -m g::rwx .

References

Set the default permissions for newly created files

Default File Permissions (umask)

How to set umask for a specific folder