I'm treading very lightly here, because I don't know very much myself and could easily be wrong; however, my understanding is that the /tmp hierarchy is used by the system in response to the configuration, and is cleared at each reboot. This is why the permissions get reset "everytime" - by everytime, I'm assuming that you mean "each reboot"? Normally, again according to my limited knowledge, most systems clear /tmp at reboot and then populate it based upon the system behaviour. Therefore, the solution is not to modify the temp files but to correct the configuration that gives rise to the temp files (ie, deal with the root cause).
You haven't said which NIC, or why you need to edit the files - this could help find the "right" resolution to your problem. I don't *know* that your solution is wrong (it could easily be far in advance of what I know); it just kinda "feels" wrong, but no concrete evidence at all.
|