Reputation: 777
Actually I am facing the issue while creating the file in particular directory. I have two environment and structure of both environment is same.
drwxr-xr-x 4 csaadm etl 24576 Apr 16 03:00 flag --------- env1
drwxr-xr-x 4 csaadm etl 24576 Apr 16 03:00 flag --------- env2
When one process create a file under this directory. file permission look like this. permission of file is not same.
-rwxrwxrwx 1 csaadm etl 0 Apr 16 01:00 schedule_5 --------- env1
-rwxr-xr-x 1 csaadm etl 0 Apr 16 04:00 schedule_6 --------- env2
Can anyone please explain why this is happening and how to resolve this?
Upvotes: 0
Views: 72
Reputation: 9865
Basically it would be better if you provide more information on what process and how the files are being created.
But so far you can go over following checks
umask
for the both environments Need more help ? Then provide more information !
Upvotes: 1