Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm using File::Temp in a CGI program on apache/LINUX. The temp files get created just fine but I need to access them later in the program with another program called with system(). Problem is the permissions are 600 and the owner is 'nobody'.
- Who is the user when running system?
- Can I change/set the permisions using File::Temp?
- What happens later when I port this to Windows?
I guess what I'm asking is what is the best way to deal with this to be portable? I soppose I could use chmod() but what will windows think?