Would it be possible to create some sort of daemon that accepts socket connections and updates the files for you? Your script could send data to the socket as whomever; the daemon would be the one updating the file in all cases.
thor
Comment on Re: Is it possible to have a script run under one account and open a file using another?