Originally posted by: SystemAdmin
Hi all,
I am facing a problem currently, with incorrect permissions being set on a file that is being generated automatically.
There is a cronjob which runs for an id uvstart, at 12:30 am ET which generates this file on a particular directory. When the file is generated, it has the permissions of 660. This file is being read by an interfacing application, which SFTPs to my server and picks this file. The permission on the file has to be 666 for the interfacing application to read it. For the past 3 days I log in at 12:30 and manually change the permissions.
The other things which I have tried are:
1) I added a ;chmod 666 <path name> after the entry in the cron job - it did not work
2)I changed the File creation umask for the id uvstart from smitty - that also apparently did not work.
Can someone please help me as to how to fix the permission for the file that gets created(each day a new one) on that particular directory, to be 666
Thanks in advance,
GG