<?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: copy files with ACL entries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277739#M606643</link>
    <description>Steven,&lt;BR /&gt;&lt;BR /&gt;for example, this file has the following ACL setting (by getacl command)&lt;BR /&gt;&lt;BR /&gt;# getacl /home/abc/mytest&lt;BR /&gt;# file: /home/abc/mytest&lt;BR /&gt;# owner: ual&lt;BR /&gt;# group: ual&lt;BR /&gt;user::rwx&lt;BR /&gt;user:train1:r--&lt;BR /&gt;user:train2:r-x&lt;BR /&gt;user:train3:r-x&lt;BR /&gt;user:train4:r--&lt;BR /&gt;group::r-x&lt;BR /&gt;class:r-x&lt;BR /&gt;other:r-x&lt;BR /&gt;&lt;BR /&gt;I want to copy this file from Server A to Server B and preserve the ACL setting.  Both servers have the same user setup.&lt;BR /&gt;&lt;BR /&gt;I tried differnt commands (cp / scp /tar / cpio), I can copy the files but not the ACL setting.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Fri, 25 Mar 2011 12:45:27 GMT</pubDate>
    <dc:creator>Camel_1</dc:creator>
    <dc:date>2011-03-25T12:45:27Z</dc:date>
    <item>
      <title>copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277737#M606641</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;The server have lots of files with ACL entries, I need to copy these files to other server and preserve the ACL entries.  I tried various options (cpio / tar / scp / cp) are not working.  &lt;BR /&gt;&lt;BR /&gt;Any other suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Mar 2011 12:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277737#M606641</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2011-03-25T12:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277738#M606642</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The server [...] other server [...]&lt;BR /&gt;&lt;BR /&gt;Not very detailed descriptions of anything.&lt;BR /&gt;&lt;BR /&gt;      uname -a&lt;BR /&gt;&lt;BR /&gt;Have you looked at fbackup/frecover?  (Or,&lt;BR /&gt;perhaps, GNU "tar"?)</description>
      <pubDate>Fri, 25 Mar 2011 12:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277738#M606642</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-03-25T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277739#M606643</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;for example, this file has the following ACL setting (by getacl command)&lt;BR /&gt;&lt;BR /&gt;# getacl /home/abc/mytest&lt;BR /&gt;# file: /home/abc/mytest&lt;BR /&gt;# owner: ual&lt;BR /&gt;# group: ual&lt;BR /&gt;user::rwx&lt;BR /&gt;user:train1:r--&lt;BR /&gt;user:train2:r-x&lt;BR /&gt;user:train3:r-x&lt;BR /&gt;user:train4:r--&lt;BR /&gt;group::r-x&lt;BR /&gt;class:r-x&lt;BR /&gt;other:r-x&lt;BR /&gt;&lt;BR /&gt;I want to copy this file from Server A to Server B and preserve the ACL setting.  Both servers have the same user setup.&lt;BR /&gt;&lt;BR /&gt;I tried differnt commands (cp / scp /tar / cpio), I can copy the files but not the ACL setting.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 25 Mar 2011 12:45:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277739#M606643</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2011-03-25T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277740#M606644</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need preserve these attributes from source to target, please review -p (preserve) option at rcp or cp commands.&lt;BR /&gt;&lt;BR /&gt;Also you can encapsulate requested files in source host using tar command, the untar at target host. The files keeps whole source's atributes. UID/GID must be equals en both hosts to keep source ownership.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Fri, 25 Mar 2011 13:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277740#M606644</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2011-03-25T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277741#M606645</link>
      <description>thanks all replied.  I found out I can use rsync with --acl option to copy the ACL between servers.</description>
      <pubDate>Fri, 25 Mar 2011 14:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277741#M606645</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2011-03-25T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277742#M606646</link>
      <description>rysnc -A --acls</description>
      <pubDate>Fri, 25 Mar 2011 14:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277742#M606646</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2011-03-25T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: copy files with ACL entries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277743#M606647</link>
      <description>&lt;!--!*#--&gt;&amp;gt; for example, this file has the following&lt;BR /&gt;&amp;gt; ACL [...]&lt;BR /&gt;&lt;BR /&gt;Yes, I know what an ACL is.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I want to copy this file from Server A to&lt;BR /&gt;&amp;gt; Server B [...]&lt;BR /&gt;&lt;BR /&gt;I also understand what "copy" means, but I&lt;BR /&gt;still don't know what "Server A" or "Server&lt;BR /&gt;B" is.  Which part of "uname -a" was unclear?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I tried differnt commands (cp / scp /tar /&lt;BR /&gt;&amp;gt; cpio), [...]&lt;BR /&gt;&lt;BR /&gt;I understood this the first time you said it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Have you looked at fbackup/frecover?  [...]&lt;BR /&gt;&lt;BR /&gt;I'm still wondering.  Do you ever _answer_&lt;BR /&gt;questions, or do you only ask the same ones,&lt;BR /&gt;over and over?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I can use rsync [...]&lt;BR /&gt;&lt;BR /&gt;Nice sledgehammer.  I'm not sure that your&lt;BR /&gt;flies justify its use.</description>
      <pubDate>Fri, 25 Mar 2011 17:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files-with-acl-entries/m-p/5277743#M606647</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-03-25T17:19:37Z</dc:date>
    </item>
  </channel>
</rss>

