I have a script that runs as a small database, reading and writing to several flat files over the course of the script. It will generate the files if not already there, and (on my system at least), these files are 'owned' by nobody - that's literally the name assigned. I'm concerned because since no one owns the files, anyone can delete or alter them. Would chmod-ing the files over the course of the program be the answer, or is there a way to have the files generated under my name, since the script runs under my name as well? Please forgive my ignorance, I know not what I'm doing =)