more useful options | |
PerlMonks |
Re: File::CounterFile problems : access from mulitple scripts and zeroing counterby scmason (Monk) |
on Sep 26, 2005 at 17:11 UTC ( [id://495162]=note: 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 Section
Seekers of Perl Wisdom
|
|