Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Preserving ONLY modification times & access times for "scp" |
|---|---|
| Date: | Thu, 01 Sep 2005 08:02:21 +1000 |
alexansp@us.ibm.com wrote:
If one uses the "-p" flag (with scp), it will preserve modification times, access times, and modes from the original file. Is there a way to ONLY preserve modification times & access times, but NOT attempt to preserve modes & ownership from original file?
[...]
SSH Version: OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
No, unless you're prepared to modify the code. rsync -t can do it, and
can run over ssh.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | Announce: OpenSSH 4.2 released, Damien Miller |
|---|---|
| Next by Thread: | Announce: OpenSSH 4.2 released, Damien Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |