<?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: More ftp problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029374#M574253</link>
    <description>Hi Ronell,&lt;BR /&gt;&lt;BR /&gt;Have you considered implementing ACLs on the directory on the UNIX server?  Maybe you can work around the problem using ACLs.&lt;BR /&gt;&lt;BR /&gt;Just an idea.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
    <pubDate>Tue, 22 Jul 2003 23:55:55 GMT</pubDate>
    <dc:creator>Tim Adamson_1</dc:creator>
    <dc:date>2003-07-22T23:55:55Z</dc:date>
    <item>
      <title>More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029363#M574242</link>
      <description>We have a file coming in from the mainframe (working at a government department - what else can you expect?) everyday but it comes in with the wrong file permissions.&lt;BR /&gt;In order to rectify this I have inerted this line into the /etc/ftpd/ftpaccess file:&lt;BR /&gt;upload /user/home/dir /dir/to/upload yes username group 037 &lt;BR /&gt;&lt;BR /&gt;I have also changed the ftp line in the /etc/inetd.conf file as such:&lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -u007 -t7200 -l&lt;BR /&gt;(because we want all the other users to keep their permissions and timeouts.&lt;BR /&gt;&lt;BR /&gt;Yesterday I tested this out on the test box and it worked fine but the production box is not working as well. When they try to transfer the file they get this error after about 10 minutes:&lt;BR /&gt;The control port connection is lost.&lt;BR /&gt;&lt;BR /&gt;If I just take out the -a option in the inetd.config file and reconfigure the daemon (inetd -c) they can transfer the file without problems but also without the correct permissions.&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Ronell</description>
      <pubDate>Tue, 22 Jul 2003 01:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029363#M574242</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-22T01:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029364#M574243</link>
      <description>I think your approach should be different.&lt;BR /&gt;&lt;BR /&gt;It seems that the operators of the mainframe are not careful what permissions they put on the file.&lt;BR /&gt;&lt;BR /&gt;Fortuneately you have a servant, root cron that can change anything you need, including permissions.&lt;BR /&gt;&lt;BR /&gt;If the file comes in at a fixed time, have root cron change the permissions a few minutes later to what they should be.&lt;BR /&gt;&lt;BR /&gt;I didn't see your original post, but I've had these issues before and sometimes messing with the ftp server and inetd.conf is simply too time consuming for me.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 22 Jul 2003 02:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029364#M574243</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-22T02:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029365#M574244</link>
      <description>I did think of this but unfortunately the files (just found out there is more than one) are not transferred at the same time every day.&lt;BR /&gt;&lt;BR /&gt;They say there is no real pattern to it.&lt;BR /&gt;&lt;BR /&gt;They also say that they can't set the permissions on the file before sending it.&lt;BR /&gt;&lt;BR /&gt;I had this working on the test system but from my PC, not the mainframe.</description>
      <pubDate>Tue, 22 Jul 2003 02:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029365#M574244</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-22T02:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029366#M574245</link>
      <description>Hi Ronell&lt;BR /&gt;&lt;BR /&gt;If you're sure these problems only occur when you enable use of ftpaccess with -a then the only thing I can think is that the timeout value being given to the ftpd daemon is being overridden by the ftpaccess file.&lt;BR /&gt;&lt;BR /&gt;I have seen a timeout values being set in the ftpaccess file before, though I don't see it listed on HP-UX's man page for ftpaccess.&lt;BR /&gt;&lt;BR /&gt;Might be something to investigate.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jul 2003 02:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029366#M574245</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-22T02:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029367#M574246</link>
      <description>Hi,&lt;BR /&gt;can you post the file ftpaccess for a check ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm also thinking that, since in test environt worked, there may be some difference between test and prod... patch level ?&lt;BR /&gt;&lt;BR /&gt;How did you manage the test, the from and to hosts where the same, as in prod (mainframe --&amp;gt; hpux ) ?&lt;BR /&gt;&lt;BR /&gt;If the connection is dropped, in the syslog you should have some warning. Is there anything interesting there ?&lt;BR /&gt;&lt;BR /&gt;Is there any relevat time difference between mainframe and hpux ?&lt;BR /&gt;&lt;BR /&gt;   Massimo&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jul 2003 06:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029367#M574246</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-22T06:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029368#M574247</link>
      <description>Con,&lt;BR /&gt;I'll look into that. But the seission doesn't jsut timeout, nothing is transferred in the 10 minutes.&lt;BR /&gt;&lt;BR /&gt;Massimo,&lt;BR /&gt;The test and production environments are slightly different but the base operating system is the same.&lt;BR /&gt;As I mentioned, I was testing from my PC to the tst box, not from the mainframe. I can't do that becasue it would mean getting the mainframe team involved in trying to ftp to the test machine and it's all too much really.&lt;BR /&gt;The syslog only shows that there was a connection from the mainframe but no FTP LOGIN.&lt;BR /&gt;&lt;BR /&gt;The user's home directory and the directory they're uploading to are in no way related - would this be a problem</description>
      <pubDate>Tue, 22 Jul 2003 20:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029368#M574247</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-22T20:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029369#M574248</link>
      <description>Ronell -&lt;BR /&gt;Let's start with the file coming from the "mainframe". In two of the more popular TCPIP clients used in the "IBM mainframe" world, permissions are not set in any config file or passed in the ftp job. Routinely, the permissions on a file sent are found to be that of rw by the user and group of the user that is in the ftp login session. I believe you are on the right track with the access file. Is the ftp user, the "mainframe" guy's are using, a common user on your HP-UX box?&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Tue, 22 Jul 2003 21:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029369#M574248</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2003-07-22T21:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029370#M574249</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;No, the user was set up specifically for the ftp'ing of these files from the mainframe.&lt;BR /&gt;&lt;BR /&gt;And you're right, the guys say that they have no control over the permissions of the file.&lt;BR /&gt;&lt;BR /&gt;-Ronelle</description>
      <pubDate>Tue, 22 Jul 2003 21:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029370#M574249</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-22T21:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029371#M574250</link>
      <description>Ronell -&lt;BR /&gt;Since I administer bot the HP-UX and "mainframe" side, I could run some tests here to duplicate your problem. What are the current permissions the files are coming in with and what do you want tem to be?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Tue, 22 Jul 2003 22:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029371#M574250</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2003-07-22T22:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029372#M574251</link>
      <description>Ronell -&lt;BR /&gt;One last question before I leave for the day. The user that is logging in from the mainframe has what permissions to the directory being put to?&lt;BR /&gt;&lt;BR /&gt;Hang in there. We'll (the forums) will get your answer.&lt;BR /&gt;&lt;BR /&gt;dl</description>
      <pubDate>Tue, 22 Jul 2003 22:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029372#M574251</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2003-07-22T22:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029373#M574252</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;They're currently coming in with -rw-rw---- and we want them to be -rw-r-----&lt;BR /&gt;&lt;BR /&gt;The user's group has rwx premissions to the directory.&lt;BR /&gt;&lt;BR /&gt;-Ronelle&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jul 2003 22:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029373#M574252</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-22T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029374#M574253</link>
      <description>Hi Ronell,&lt;BR /&gt;&lt;BR /&gt;Have you considered implementing ACLs on the directory on the UNIX server?  Maybe you can work around the problem using ACLs.&lt;BR /&gt;&lt;BR /&gt;Just an idea.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Tue, 22 Jul 2003 23:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029374#M574253</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-07-22T23:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029375#M574254</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Aren't acl's for use on specific files?&lt;BR /&gt;Unfortunately the files they ftp will have a different name every day - or more than once a day.</description>
      <pubDate>Wed, 23 Jul 2003 00:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029375#M574254</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-23T00:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029376#M574255</link>
      <description>How about putting this ftp user into a group all by themselves?  Then nobody but root can read it until a cron file looks at the directory (every 5 minutes or whatever), finds a new file and moves it to a different directory while changing owner/group/permisions. &lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 23 Jul 2003 01:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029376#M574255</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-07-23T01:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029377#M574256</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;A good idea but not very neat - especially considering the fact that there may be more than one file a day, the files don't all go to the same directory and the filenames are not always the same.&lt;BR /&gt;&lt;BR /&gt;ftpaccess just seems like the easiest, most streamlined solution. I just wish I could get itto work on the production system.</description>
      <pubDate>Wed, 23 Jul 2003 01:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029377#M574256</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-23T01:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029378#M574257</link>
      <description>Hi Ronelle,&lt;BR /&gt;&lt;BR /&gt;Does the Unix server have multiple network cards?  If so, does the same problem occur on different lan interfaces?  I wonder if it is more related to the lan card (patching).&lt;BR /&gt;&lt;BR /&gt;Seems like you may need to go through a process of elimination - ugghh!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Wed, 23 Jul 2003 02:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029378#M574257</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-07-23T02:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029379#M574258</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;ugghh!  is right.&lt;BR /&gt;&lt;BR /&gt;This server has only one network card.</description>
      <pubDate>Wed, 23 Jul 2003 03:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029379#M574258</guid>
      <dc:creator>Ronelle van Niekerk</dc:creator>
      <dc:date>2003-07-23T03:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029380#M574259</link>
      <description>Your ftpaccess line:&lt;BR /&gt;"upload /user/home/dir /dir/to/upload yes username group 037" &lt;BR /&gt;&lt;BR /&gt;037 is a bad value per my 11.0 man file.  The examples they give use 0666 and 0600 (permissions and not mask).  Perhaps that is why it doesn't want to work?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 23 Jul 2003 14:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029380#M574259</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-07-23T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029381#M574260</link>
      <description>Ronell,&lt;BR /&gt;&lt;BR /&gt;This is the kind of thing that drives one crazy!  It all looks like it should work.&lt;BR /&gt;&lt;BR /&gt;Hmmm...&lt;BR /&gt;&lt;BR /&gt;Was the -a option in inetd.conf previously?  If not, then the ftpaccess file wasn't being used before.  Maybe there's a problem someplace else in the file that's preventing transfers somehow.  Can you post it?&lt;BR /&gt;&lt;BR /&gt;Also, I noticed in the man page for ftpaccess that it's not a mask in the upload command, but a mode.  So a rw-r-- mode should be 0640, not 037.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Seth</description>
      <pubDate>Wed, 23 Jul 2003 14:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029381#M574260</guid>
      <dc:creator>Seth Parker</dc:creator>
      <dc:date>2003-07-23T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: More ftp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029382#M574261</link>
      <description>I always try and make sure on filesystem level, by giving the directory 02xxx permissions (for example 02750).&lt;BR /&gt;&lt;BR /&gt;When files are created in that directory, they should be owned by the group which owns the directory.</description>
      <pubDate>Wed, 23 Jul 2003 19:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-ftp-problems/m-p/3029382#M574261</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2003-07-23T19:58:51Z</dc:date>
    </item>
  </channel>
</rss>

