<?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: scp permissions problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179631#M322229</link>
    <description>&amp;gt; In some cases it retains [...] and in other&lt;BR /&gt;&amp;gt; cases it doesn't.&lt;BR /&gt;&lt;BR /&gt;This might be interesting if you offered some&lt;BR /&gt;kind of description of what's different&lt;BR /&gt;between the cases.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Strange.&lt;BR /&gt;&lt;BR /&gt;No, _strange_ would be expecting anyone to&lt;BR /&gt;provide any help based on virtually no&lt;BR /&gt;information.</description>
    <pubDate>Mon, 14 Apr 2008 17:57:32 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-04-14T17:57:32Z</dc:date>
    <item>
      <title>scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179627#M322225</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;When I scp a file, it retains the permissions that it had on the source box. &lt;BR /&gt;&lt;BR /&gt;I have a case where a file is scp'ed from a Windows machine and it ends up as 700 permissions, while I would like to it to be 75, which is what the umask value is set to.&lt;BR /&gt;&lt;BR /&gt;Any idea why the .profile is not read by scp?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2008 14:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179627#M322225</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2008-04-14T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179628#M322226</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;scp was made platform independent, it does not read .profile because not all OS' have that.&lt;BR /&gt;&lt;BR /&gt;If you want to retain permissions, tar the files up first, transfer them then untar them.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 14 Apr 2008 16:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179628#M322226</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-04-14T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179629#M322227</link>
      <description>&amp;gt; Any idea why the .profile is not read by scp?&lt;BR /&gt;&lt;BR /&gt;Scp is not a shell?  Why would it read your&lt;BR /&gt;.profile?&lt;BR /&gt;&lt;BR /&gt;If you use scp to copy a file from a&lt;BR /&gt;non-Windows system, say, an HP-UX system, do&lt;BR /&gt;you have the same problem?  (What does this&lt;BR /&gt;tell you?)</description>
      <pubDate>Mon, 14 Apr 2008 17:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179629#M322227</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-14T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179630#M322228</link>
      <description>1. I cannot use tar because the process is scripted, and the file gets moved without a password.&lt;BR /&gt;&lt;BR /&gt;2. It's not a windows thing, I get the same thing happen when I scp from hp-ux to hp-ux.&lt;BR /&gt;&lt;BR /&gt;In some cases it retains the permissions, it had and in other cases it doesn't. Strange.&lt;BR /&gt;&lt;BR /&gt;I set the file to 777 and once it scp'ed over it got something like 7 66,but not 777.</description>
      <pubDate>Mon, 14 Apr 2008 17:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179630#M322228</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2008-04-14T17:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179631#M322229</link>
      <description>&amp;gt; In some cases it retains [...] and in other&lt;BR /&gt;&amp;gt; cases it doesn't.&lt;BR /&gt;&lt;BR /&gt;This might be interesting if you offered some&lt;BR /&gt;kind of description of what's different&lt;BR /&gt;between the cases.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Strange.&lt;BR /&gt;&lt;BR /&gt;No, _strange_ would be expecting anyone to&lt;BR /&gt;provide any help based on virtually no&lt;BR /&gt;information.</description>
      <pubDate>Mon, 14 Apr 2008 17:57:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179631#M322229</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-14T17:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: scp permissions problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179632#M322230</link>
      <description>well you've a couple of issues....&lt;BR /&gt;&lt;BR /&gt;a) AFAIK, windows "permissions" don't map directly to unix permissions.&lt;BR /&gt;&lt;BR /&gt;b) If you've got a file with 777 permissions, and want those permissions retained, then use "scp -p"&lt;BR /&gt;&lt;BR /&gt;c) You said you set the umask to 75, which is the desired permission???? I hope that's at typo.  If not, you need to re-read how umask works.&lt;BR /&gt;&lt;BR /&gt;we won't even discuss *why* 777 *shouldn't* be used</description>
      <pubDate>Mon, 14 Apr 2008 19:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-permissions-problem/m-p/4179632#M322230</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-04-14T19:57:51Z</dc:date>
    </item>
  </channel>
</rss>

