Permission for files in the path

Hi All,

I have this file system /sys/app/ and application creating many file under that path.

I want any created file under that path to be created with 644 permission

Any help support in this please!

What have you tried? Hint: chmod command.

Set/change the umask for the user running the application in the environment.

umask 033

Which will result in directories created with 744 (rwxr--r---) and files with 644 (rw-r--r--) by that user.

Hope that helps
Regards
Peasant.