Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 scrutinizing the Monastery: (7)
As of 2015-08-30 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (350 votes), past polls