Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm confused again.
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: File::Temp permisions?
by misterb101 (Sexton) on Feb 10, 2006 at 11:14 UTC | |
Re: File::Temp permisions?
by MCS (Monk) on Feb 10, 2006 at 14:52 UTC |
Back to
Seekers of Perl Wisdom