Waiting for the creation of a specific filename
Daniel Perelman
The problem# I had a script where at some point a program I did not directly control would create a file, but I wanted that file's permissions to be different than those it got created with. The simple solution was to run chmod in a loop waiting for it to succeed with a short sleep delay between...