Setting file permissions for dynamically generated files
I'm working in a linux server where wrappers are executed by multiple users of different groups. The log and output files are created with 554 permissions by default. This is stopping other users to run the wrappers unless the log and output files are deleted or given 777 permission. Setting SUID and SGID on the wrappers and folders is not helping. I don't want to set 777 permission for the scripts. What is the better way of doing this without removing the files for each run or giving 777 permission?Please suggest
|