<?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 umask issue!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573206#M228487</link>
    <description>HI All,&lt;BR /&gt;I am facing a problem:&lt;BR /&gt;One application is generating some text files and one user is putting these files(via ftp) in a directory.&lt;BR /&gt;&lt;BR /&gt;Files that are placed in this folder are not having the read permission for&lt;BR /&gt;"others". The user belongs to "others" and  they are not able to read these files.&lt;BR /&gt;&lt;BR /&gt;When the ftp files to this location,&lt;BR /&gt;UMASK is set to 027. How can we change the UMASK  so that files&lt;BR /&gt;placed in this folder should have read access to "others". &lt;BR /&gt;&lt;BR /&gt;Required help on this issue.&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Jun 2005 08:39:30 GMT</pubDate>
    <dc:creator>Amit Manna_6</dc:creator>
    <dc:date>2005-06-29T08:39:30Z</dc:date>
    <item>
      <title>umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573206#M228487</link>
      <description>HI All,&lt;BR /&gt;I am facing a problem:&lt;BR /&gt;One application is generating some text files and one user is putting these files(via ftp) in a directory.&lt;BR /&gt;&lt;BR /&gt;Files that are placed in this folder are not having the read permission for&lt;BR /&gt;"others". The user belongs to "others" and  they are not able to read these files.&lt;BR /&gt;&lt;BR /&gt;When the ftp files to this location,&lt;BR /&gt;UMASK is set to 027. How can we change the UMASK  so that files&lt;BR /&gt;placed in this folder should have read access to "others". &lt;BR /&gt;&lt;BR /&gt;Required help on this issue.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 08:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573206#M228487</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2005-06-29T08:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573207#M228488</link>
      <description>Hi Amit,&lt;BR /&gt;&lt;BR /&gt;Try changing the umask of the ftp user via its .profile.&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;vi /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l &lt;BR /&gt;&lt;BR /&gt;add -u 007 or the umask that you want&lt;BR /&gt;&lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 007&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Paul</description>
      <pubDate>Wed, 29 Jun 2005 08:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573207#M228488</guid>
      <dc:creator>Paul_481</dc:creator>
      <dc:date>2005-06-29T08:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573208#M228489</link>
      <description>Thanks for the reply Paul.&lt;BR /&gt;&lt;BR /&gt;As its ftp the .profile will not be exported in this case.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 09:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573208#M228489</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2005-06-29T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573209#M228490</link>
      <description>As you mentrioned, ftp does not login so any settings in the profiles will never be taken. The -u for ftpd sets the umask value for the files created on the ftp server. Note that you must tell inetd to re-read the /etc/inetd.conf file for the change to take effect. And verify that inetd made the change with:&lt;BR /&gt; &lt;BR /&gt;tail /var/adm/syslog/syslog.log</description>
      <pubDate>Wed, 29 Jun 2005 09:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573209#M228490</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-29T09:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573210#M228491</link>
      <description>Hi Amit,&lt;BR /&gt;&lt;BR /&gt;Is the ftp process controlled by ftpaccess or simple ftp. IF it is controlled by ftpaccess, you can change the file permissions over there.&lt;BR /&gt;&lt;BR /&gt;You can also use the umask command at the ftp command level to change the permission of the file ftp'ed after that. The umask will be applicable for that session only.&lt;BR /&gt;&lt;BR /&gt;ftp some_system&lt;BR /&gt;umask 022&lt;BR /&gt;put some_file&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 09:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573210#M228491</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-06-29T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573211#M228492</link>
      <description>Bill: If we change the inetd.conf file it will be reflected globally. We want it for the particular user only.&lt;BR /&gt;&lt;BR /&gt;Sanjay: There is no ftpaccess file&lt;BR /&gt;&lt;BR /&gt;So, any other suggestions?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 09:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573211#M228492</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2005-06-29T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573212#M228493</link>
      <description>There are no user-specific umask settings for inetd.conf--it will change for all file transfers into this server. You'll need to configure the ftpaccess file and include the user into a class which can be specified for the umask option.</description>
      <pubDate>Fri, 01 Jul 2005 08:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3573212#M228493</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-07-01T08:48:44Z</dc:date>
    </item>
  </channel>
</rss>

