Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Something quick and dirty? How about this in the script that creates the file:
Of course, there are better ways, like making the scripts that write it and read it members of the same group, and then setting your up their umask accordiningly. Alternatively, you could have the reading script suid to the user that write the file...
"Never take yourself too seriously, because everyone knows that fat birds dont fly" -FLC
In reply to Re: File::CounterFile problems : access from mulitple scripts and zeroing counter
by scmason
|
|