Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: copying files from cgi perl script is modifying target file permissions

by Happy-the-monk (Abbot)
on Jun 20, 2012 at 07:35 UTC ( #977243=note: print w/ replies, xml ) Need Help??


in reply to copying files from cgi perl script is modifying target file permissions

$cp="cp-f";

Although not related to Perl, cp -p is the option to preserve permissions while copying files as mentioned above by frozenwithjoy.
(sorry, didn't see that before I posted, I keep too many firefox tabs open for too long).
See man cp

Cheers, Sören


Comment on Re: copying files from cgi perl script is modifying target file permissions

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-07 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls