in reply to Re: copying files from cgi perl script is modifying target file permissions
in thread copying files from cgi perl script is modifying target file permissions
CP(1) FreeBSD General Commands Manual CP(1) ... -f For each existing destination pathname, remove it and create a new file, without prompting for confirmation regardless of its permis- sions. (The -f option overrides any previous -i or -n options.)
I this this option may have led to your problem.
use perl::always; my $perl_version( 5.12.4 ); print $perl_version;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: copying files from cgi perl script is modifying target file permissions
by afoken (Chancellor) on Jun 21, 2012 at 19:54 UTC |