in reply to Re^4: Best way to write to a file owned by root?
in thread Best way to write to a file owned by root?
With code like this, one can only assume that you never lock your doors. Get some training, for the sake of the people you are inevitably going to be sued by.