Quote:
You will need file write permissions to change the date.
I don't think you actually need to own the file (user ID match), but you have to have the right permissions.
I have the permissions to write....
here is the scenario.
I have a shell script which monitors a particular directory for text files, If found it processes the files sequentially (fifo)and uploads data into a database, this shell script is up and running all the time.(where 1=1)
but, some files in this directory have dependency on other files, say I should have two text files to kick the process to upload the data from them into a database.
For some reason if the shell script sees only one file among the two it will not process it until it sees its dependecy (other missing)file in the directory
so as to give preference to the files other than this dependency set , I have added a touch command ( the whole purpose of this is to change the time stamp) and make the fifo logic work out.
but strangely the system is throwing the above error. This functionality was working fine for the last few months
Any idea what might be triggering the system to throw this error..
Thanks for your attention and precious time.
Regards,
Ram