<?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: Problems with permissions on files when using ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936683#M112786</link>
    <description>Hi Ginny,&lt;BR /&gt;&lt;BR /&gt;Yes you can.&lt;BR /&gt;You have to use the /etc/ftpd/ftpaccess file to do this.&lt;BR /&gt;&lt;BR /&gt;Here's an example ftpaccess entry:&lt;BR /&gt;&lt;BR /&gt;upload /home/user3 /systools/user3-ftp yes user5 sys 0666&lt;BR /&gt;&lt;BR /&gt;Note how I can also change the default ownership of the file as well.&lt;BR /&gt;Also be advised that you have to change the ftp line in /etc/inetd.conf to read like:&lt;BR /&gt;&lt;BR /&gt;ftp   stream tcp nowait root /usr/lbin/ftpd      ftpd -v -a&lt;BR /&gt;&lt;BR /&gt;The key requirement is the -a parameter - tells inetd to use the ftpaccess file for ftp.&lt;BR /&gt;&lt;BR /&gt;Do a man ftpaccess for further details - especially about the need for a class statement in that file.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Mar 2003 21:53:06 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-03-26T21:53:06Z</dc:date>
    <item>
      <title>Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936681#M112784</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When I transfer a file using ftp from my c:drive to unix, the file is getting the following permissions rw-r-- ---&lt;BR /&gt;&lt;BR /&gt;the umask for the user that I am transfering to&lt;BR /&gt;is 000.&lt;BR /&gt;&lt;BR /&gt;Is there a way to have the file permissions set to 666 when the file is transferred?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Ginny</description>
      <pubDate>Wed, 26 Mar 2003 21:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936681#M112784</guid>
      <dc:creator>Ginny Merlino</dc:creator>
      <dc:date>2003-03-26T21:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936682#M112785</link>
      <description>Hi Ginny:&lt;BR /&gt;&lt;BR /&gt;Yes, you can establish a 'umask' for the ftpd daemon process.&lt;BR /&gt;&lt;BR /&gt;In '/etc/inetd.conf', add '-u 111' to the options for the 'ftpd' daemon.  Then, restart 'inetd', thusly:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/inetd -c&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 26 Mar 2003 21:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936682#M112785</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-26T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936683#M112786</link>
      <description>Hi Ginny,&lt;BR /&gt;&lt;BR /&gt;Yes you can.&lt;BR /&gt;You have to use the /etc/ftpd/ftpaccess file to do this.&lt;BR /&gt;&lt;BR /&gt;Here's an example ftpaccess entry:&lt;BR /&gt;&lt;BR /&gt;upload /home/user3 /systools/user3-ftp yes user5 sys 0666&lt;BR /&gt;&lt;BR /&gt;Note how I can also change the default ownership of the file as well.&lt;BR /&gt;Also be advised that you have to change the ftp line in /etc/inetd.conf to read like:&lt;BR /&gt;&lt;BR /&gt;ftp   stream tcp nowait root /usr/lbin/ftpd      ftpd -v -a&lt;BR /&gt;&lt;BR /&gt;The key requirement is the -a parameter - tells inetd to use the ftpaccess file for ftp.&lt;BR /&gt;&lt;BR /&gt;Do a man ftpaccess for further details - especially about the need for a class statement in that file.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 21:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936683#M112786</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-26T21:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936684#M112787</link>
      <description>It should be noted that JRF's accurate method would be global to all users. Whereas the method I spelled out can be used to drill down to a specific user &amp;amp; directory.&lt;BR /&gt;You could have multiple entries in the ftpaccess file for mult users &amp;amp; even the same user with mult dirs.&lt;BR /&gt;Harder to initially setup, but infinitely more flexible.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 26 Mar 2003 21:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936684#M112787</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-26T21:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936685#M112788</link>
      <description>Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;It worked fine!&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Ginny</description>
      <pubDate>Wed, 26 Mar 2003 22:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936685#M112788</guid>
      <dc:creator>Ginny Merlino</dc:creator>
      <dc:date>2003-03-26T22:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with permissions on files when using ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936686#M112789</link>
      <description>Hi (again) Ginny:&lt;BR /&gt;&lt;BR /&gt;Yes, Jeff's choice is certainly the more restrictive and therefore more secure.  The default 'umask' for the 'ftpd' daemon in the absence of any '-u &lt;UMASK&gt;' specifiction is 027.  You could tighten or loosen this slightly and then customize as Jeff suggested.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/UMASK&gt;</description>
      <pubDate>Wed, 26 Mar 2003 22:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-permissions-on-files-when-using-ftp/m-p/2936686#M112789</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-26T22:11:05Z</dc:date>
    </item>
  </channel>
</rss>

