<?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 %TCPIP$_SSH_FX_PERM_DENIED in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463116#M46126</link>
    <description>&lt;P&gt;I am running OpenVMS v7.3-2 on an AlphaServer ES40 6/667 running TCP/IP Services V5.4 ECO 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run SFTP in batch mode to rename a bunch of files - sometimes a rename will fail with the "%TCPIP$_SSH_FX_PERM_DENIED, insufficient privileges to perform the operation" message.&amp;nbsp; This seems to happen randomly in one out of 8&amp;nbsp;to 10&amp;nbsp;batch runs.&amp;nbsp; I may have 10 files to rename and it fill fail on the 7th one, but the rest will complete.&amp;nbsp; In the attached log, the batch stream renames 4 files, the 3rd one fails, but 1,2 &amp;amp; 4 complete.&amp;nbsp; I have run the SFTP with the "-D99" debug mode and attached the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following images with the same results:&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"V5.4-ECO7"&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.4-ECO7J"&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.4-ECO7M"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have an idea as to why this happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick Lade&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="mailto:laderm@aafes.com"&gt;laderm@aafes.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Army &amp;amp; Air Force Exchange Service&lt;/P&gt;&lt;P&gt;214-312-4185&lt;/P&gt;</description>
    <pubDate>Thu, 01 May 2014 14:03:45 GMT</pubDate>
    <dc:creator>RickLade</dc:creator>
    <dc:date>2014-05-01T14:03:45Z</dc:date>
    <item>
      <title>%TCPIP$_SSH_FX_PERM_DENIED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463116#M46126</link>
      <description>&lt;P&gt;I am running OpenVMS v7.3-2 on an AlphaServer ES40 6/667 running TCP/IP Services V5.4 ECO 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run SFTP in batch mode to rename a bunch of files - sometimes a rename will fail with the "%TCPIP$_SSH_FX_PERM_DENIED, insufficient privileges to perform the operation" message.&amp;nbsp; This seems to happen randomly in one out of 8&amp;nbsp;to 10&amp;nbsp;batch runs.&amp;nbsp; I may have 10 files to rename and it fill fail on the 7th one, but the rest will complete.&amp;nbsp; In the attached log, the batch stream renames 4 files, the 3rd one fails, but 1,2 &amp;amp; 4 complete.&amp;nbsp; I have run the SFTP with the "-D99" debug mode and attached the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following images with the same results:&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"V5.4-ECO7"&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.4-ECO7J"&lt;/P&gt;&lt;P&gt;TCPIP$SSH_SFTP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.4-ECO7M"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have an idea as to why this happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick Lade&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="mailto:laderm@aafes.com"&gt;laderm@aafes.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Army &amp;amp; Air Force Exchange Service&lt;/P&gt;&lt;P&gt;214-312-4185&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2014 14:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463116#M46126</guid>
      <dc:creator>RickLade</dc:creator>
      <dc:date>2014-05-01T14:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: %TCPIP$_SSH_FX_PERM_DENIED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463662#M46127</link>
      <description />
      <pubDate>Fri, 02 May 2014 03:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463662#M46127</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2014-05-02T03:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: %TCPIP$_SSH_FX_PERM_DENIED</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463672#M46128</link>
      <description>&lt;P&gt;I would also like to see the file protection before and after. We know the initiating system is OpenVMS, but what's the target running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a 1+ to Steven's suggestion,&amp;nbsp;I'm not sure if the new&amp;nbsp;feature&amp;nbsp;of CREATE/FDL was ever documented, you can give it an FDL string directly, so&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ create /fdl="RECORD; FORMAT STREAM_LF"  'sftpbfile'
$!
$ open /read /write sftp_bfile 'sftpbfile'&lt;/PRE&gt;&lt;P&gt;I think this goes back&amp;nbsp;as far as&amp;nbsp;V7.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd also like to see the contents of the sftp batch file which is generating the error (rather than having to reverse engineer it from the remainder of the log). The D99 stuff is pretty useless, just extra noise.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 03:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-ssh-fx-perm-denied/m-p/6463672#M46128</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2014-05-02T03:53:12Z</dc:date>
    </item>
  </channel>
</rss>

