<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copying file to remote server using rsync in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881642#M67036</link>
    <description>If you want to retain rightes and ownership&lt;BR /&gt;rsync must run as root.  Rsync normally creates&lt;BR /&gt;a new file and moves it into place once it is&lt;BR /&gt;copied.  Newer versions also have an inplace&lt;BR /&gt;option to update files without copying them.&lt;BR /&gt;&lt;BR /&gt;I am waiting for my log source to updated so&lt;BR /&gt;I don't copy current logs on the log server.&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Oct 2006 13:21:35 GMT</pubDate>
    <dc:creator>Bill Thorsteinson</dc:creator>
    <dc:date>2006-10-18T13:21:35Z</dc:date>
    <item>
      <title>Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881637#M67031</link>
      <description>Hi Guys,&lt;BR /&gt;  I am trying to use rsync to copy files over preserving owners, rights, group etc. but am having some problem:&lt;BR /&gt;&lt;BR /&gt;rsync -avzopg  -e "ssh -i /var/home/hchua/fr1httpmo01-rysnc-key" testing.txt  hchua@192.168.60.71:/opt&lt;BR /&gt;building file list ... done&lt;BR /&gt;testing.txt&lt;BR /&gt;mkstemp .testing.txt.RSQLLk failed: Permission denied&lt;BR /&gt;wrote 250 bytes  read 36 bytes  572.00 bytes/sec&lt;BR /&gt;total size is 417  speedup is 1.46&lt;BR /&gt;rsync error: some files could not be transferred (code 23) at main.c(620)&lt;BR /&gt;&lt;BR /&gt;May I know wat is wrong?&lt;BR /&gt;I create the key in my home dir.. do i need special previlege to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2006 10:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881637#M67031</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2006-10-17T10:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881638#M67032</link>
      <description>This is an excelent document that you can follow to configure Rsync over SSH:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jdmz.net/ssh/" target="_blank"&gt;http://www.jdmz.net/ssh/&lt;/A&gt;</description>
      <pubDate>Tue, 17 Oct 2006 11:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881638#M67032</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-17T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881639#M67033</link>
      <description>like this states,&lt;BR /&gt;mkstemp .testing.txt.RSQLLk failed: Permission denied&lt;BR /&gt;&lt;BR /&gt;Check the permission.</description>
      <pubDate>Tue, 17 Oct 2006 14:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881639#M67033</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-10-17T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881640#M67034</link>
      <description>Thanks for the help guys, I have when thru the link as per your advise, but one question, isnt  it possible to rsync with the rights, ownership by using -p and -o?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 17 Oct 2006 20:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881640#M67034</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2006-10-17T20:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881641#M67035</link>
      <description>&lt;!--!*#--&gt;Hi henry&lt;BR /&gt;&lt;BR /&gt;Make sure you are allowed to write in /opt. Usually ordinary users may not write over there, and you are trying to do that as user hchua. I guess you will have to run as root something similar to one of the following commands on the target computer:&lt;BR /&gt; chmod a+w /opt&lt;BR /&gt;or&lt;BR /&gt; chgrp hchua /opt &amp;amp;&amp;amp; chmod g+w /opt&lt;BR /&gt;or&lt;BR /&gt; setfacl -m u:hchua:w /opt &lt;BR /&gt;The last one assumes /opt resides on a filesystem which was mount with extended acl rights (mount -o remount,acl /opt)&lt;BR /&gt;&lt;BR /&gt;If you are not allowed to modify /opt, then either transfer to you home dir or to /tmp</description>
      <pubDate>Tue, 17 Oct 2006 22:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881641#M67035</guid>
      <dc:creator>Manuel Wolfshant</dc:creator>
      <dc:date>2006-10-17T22:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copying file to remote server using rsync</title>
      <link>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881642#M67036</link>
      <description>If you want to retain rightes and ownership&lt;BR /&gt;rsync must run as root.  Rsync normally creates&lt;BR /&gt;a new file and moves it into place once it is&lt;BR /&gt;copied.  Newer versions also have an inplace&lt;BR /&gt;option to update files without copying them.&lt;BR /&gt;&lt;BR /&gt;I am waiting for my log source to updated so&lt;BR /&gt;I don't copy current logs on the log server.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/copying-file-to-remote-server-using-rsync/m-p/3881642#M67036</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-10-18T13:21:35Z</dc:date>
    </item>
  </channel>
</rss>

