<?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: Error code2: Access violation when using &amp;quot;put&amp;quot; with tftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909099#M284261</link>
    <description>I don't know, but I doubt it.  It's a&lt;BR /&gt;general property of TFTP servers to allow a&lt;BR /&gt;PUT only to an existing file.  With the basic&lt;BR /&gt;security limitations of TFTP, this limitation&lt;BR /&gt;is supposed to help prevent people from&lt;BR /&gt;filling your file system with junk (which&lt;BR /&gt;would otherwise be even easier).&lt;BR /&gt;&lt;BR /&gt;If you can allow it, you might be wiser not&lt;BR /&gt;to.&lt;BR /&gt;&lt;BR /&gt;"man tftpd"?&lt;BR /&gt;&lt;BR /&gt;[...]  Furthermore, tftp&lt;BR /&gt;clients can only read files in that directory if they are&lt;BR /&gt;readable by the pseudo-user tftp, and tftp clients can only&lt;BR /&gt;write files in that directory if they exist and are writable by&lt;BR /&gt;the pseudo-user tftp.&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Dec 2006 19:45:36 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2006-12-06T19:45:36Z</dc:date>
    <item>
      <title>Error code2: Access violation when using "put" with tftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909098#M284260</link>
      <description>I'm trying to "put" a file in the tftpdir using tftp. The directory is wide open but the file does not exist as a default. When I attemp this I get the error "Error code 2: Access violation"&lt;BR /&gt;&lt;BR /&gt;However, when I pre-create and open up the file at the destination using:&lt;BR /&gt;&amp;gt; touch junk.filename&lt;BR /&gt;&amp;gt; chmod 777 junk.filename&lt;BR /&gt;&lt;BR /&gt;I can successfully write or in this case overwrite the file. Is there somewhere in the inetd.conf file or elsewhere where I can allow "put" to create a file in the tftpdir?&lt;BR /&gt;&lt;BR /&gt;I'm using HP/UX 11.11&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Jason</description>
      <pubDate>Wed, 06 Dec 2006 19:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909098#M284260</guid>
      <dc:creator>Jason Tedford</dc:creator>
      <dc:date>2006-12-06T19:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error code2: Access violation when using "put" with tftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909099#M284261</link>
      <description>I don't know, but I doubt it.  It's a&lt;BR /&gt;general property of TFTP servers to allow a&lt;BR /&gt;PUT only to an existing file.  With the basic&lt;BR /&gt;security limitations of TFTP, this limitation&lt;BR /&gt;is supposed to help prevent people from&lt;BR /&gt;filling your file system with junk (which&lt;BR /&gt;would otherwise be even easier).&lt;BR /&gt;&lt;BR /&gt;If you can allow it, you might be wiser not&lt;BR /&gt;to.&lt;BR /&gt;&lt;BR /&gt;"man tftpd"?&lt;BR /&gt;&lt;BR /&gt;[...]  Furthermore, tftp&lt;BR /&gt;clients can only read files in that directory if they are&lt;BR /&gt;readable by the pseudo-user tftp, and tftp clients can only&lt;BR /&gt;write files in that directory if they exist and are writable by&lt;BR /&gt;the pseudo-user tftp.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Dec 2006 19:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909099#M284261</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-12-06T19:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error code2: Access violation when using "put" with tftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909100#M284262</link>
      <description>Hi,&lt;BR /&gt;and welcome to the forums !&lt;BR /&gt;OldSchool's answer in&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999726" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999726&lt;/A&gt;&lt;BR /&gt;"If the server is to receive a file, it must already exist and be writeable by the user tftp."&lt;BR /&gt;&lt;BR /&gt;Confirmed in "Common tftp problems"&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-6548/ch03s05.html" target="_blank"&gt;http://docs.hp.com/en/5991-6548/ch03s05.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Thu, 07 Dec 2006 04:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-code2-access-violation-when-using-quot-put-quot-with-tftp/m-p/3909100#M284262</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-07T04:46:28Z</dc:date>
    </item>
  </channel>
</rss>

