Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Happy-the-monk (Monsignor)
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-09-02 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (32 votes), past polls