<?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: Default Permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295040#M182844</link>
    <description>Your suggestions worked for shelled users.  For it to work on guest ftp accessed accounts, I had to edit the 'upload' section of the /etc/ftpd/ftpaccess file.  Thanks everyone!!</description>
    <pubDate>Thu, 03 Jun 2004 09:05:49 GMT</pubDate>
    <dc:creator>Jayson Hurd_2</dc:creator>
    <dc:date>2004-06-03T09:05:49Z</dc:date>
    <item>
      <title>Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295027#M182831</link>
      <description>What governs the default permissions for a new file created under a given directory?  I have a place where a group ftps files, however the permissions are 640.  Others need to read the file.  I'd rather not add any of the others to the group owner.  Is there a way to make it so new files created in that directory are, say, 644?</description>
      <pubDate>Thu, 03 Jun 2004 08:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295027#M182831</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-06-03T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295028#M182832</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can set the umask to 122.&lt;BR /&gt;&lt;BR /&gt;manish.</description>
      <pubDate>Thu, 03 Jun 2004 08:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295028#M182832</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-03T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295029#M182833</link>
      <description>Is umask specific to a particular login or can you set a umask on a directory?</description>
      <pubDate>Thu, 03 Jun 2004 08:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295029#M182833</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-06-03T08:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295030#M182834</link>
      <description>umask command is responsible for it. You can set umask as follows:&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;$ umask  # current umask value&lt;BR /&gt;00&lt;BR /&gt;$ umask 022 # this will make files to be created with 644 permission&lt;BR /&gt;$ umask # Check the new umask value.&lt;BR /&gt;022&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Anshu</description>
      <pubDate>Thu, 03 Jun 2004 08:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295030#M182834</guid>
      <dc:creator>Anupam Anshu_1</dc:creator>
      <dc:date>2004-06-03T08:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295031#M182835</link>
      <description>You can set the umask even for the directories. umask value would determine with what permissions your files and directories would get created.&lt;BR /&gt;&lt;BR /&gt;if you have umask value set to 000, then the directory would be created with permission 777 (ls -l output would show drwxrwxrwx for the directory created).&lt;BR /&gt;&lt;BR /&gt;You can set different umask values and try the same.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Anshu</description>
      <pubDate>Thu, 03 Jun 2004 08:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295031#M182835</guid>
      <dc:creator>Anupam Anshu_1</dc:creator>
      <dc:date>2004-06-03T08:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295032#M182836</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;set the umask in the login profile which ftp uses when transferring the files.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 03 Jun 2004 08:30:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295032#M182836</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2004-06-03T08:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295033#M182837</link>
      <description>I think the umask is for a specific user.&lt;BR /&gt;So, if different users are trying to put files, the permissions may be different.&lt;BR /&gt;What you want to do is probably setup a script to change the permissions the way you wanted and run via cron frequently.</description>
      <pubDate>Thu, 03 Jun 2004 08:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295033#M182837</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-06-03T08:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295034#M182838</link>
      <description>umask is per login session. If it's set in /etc/profile, it will be set the same for all users. It can be set on a per user basis by including it in $HOME/.profile.</description>
      <pubDate>Thu, 03 Jun 2004 08:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295034#M182838</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-06-03T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295035#M182839</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;umask 022 removes write permission  for  group  and other (files normally created with mode 777 become mode 755; files created with mode 666 become mode 644).&lt;BR /&gt;&lt;BR /&gt;umask is session specific not directory specific umask is recognized and executed by the shell.&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Thu, 03 Jun 2004 08:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295035#M182839</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2004-06-03T08:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295036#M182840</link>
      <description>Jayson,&lt;BR /&gt;&lt;BR /&gt;You can use the "site umask" subcommand on ftp to change the umask during a ftp session.&lt;BR /&gt;&lt;BR /&gt;Try this in your ftp session before transferring files,&lt;BR /&gt;ftp&amp;gt; site umask 022&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Abdul.</description>
      <pubDate>Thu, 03 Jun 2004 08:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295036#M182840</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-06-03T08:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295037#M182841</link>
      <description>The problem I'm having is that I'm using ftpaccess to govern the files that are written since users are ftp-ing the files up.  The profile does not apply to ftp-ing...</description>
      <pubDate>Thu, 03 Jun 2004 08:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295037#M182841</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-06-03T08:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295038#M182842</link>
      <description>For permission 644 you must set umask to 122 into profile.&lt;BR /&gt;Bruno</description>
      <pubDate>Thu, 03 Jun 2004 08:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295038#M182842</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-06-03T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295039#M182843</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For can set up an a generic ftp mask. Configure this feature in your /etc/inetd.conf file:&lt;BR /&gt;&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l -a -u &lt;MASK&gt;&lt;BR /&gt;&lt;BR /&gt;Where -u &lt;MASK&gt; determine the file permission for any ftp incoming file.&lt;BR /&gt;&lt;BR /&gt;For additional info: "man ftpd"&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/MASK&gt;&lt;/MASK&gt;</description>
      <pubDate>Thu, 03 Jun 2004 08:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295039#M182843</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-06-03T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Default Permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295040#M182844</link>
      <description>Your suggestions worked for shelled users.  For it to work on guest ftp accessed accounts, I had to edit the 'upload' section of the /etc/ftpd/ftpaccess file.  Thanks everyone!!</description>
      <pubDate>Thu, 03 Jun 2004 09:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-permissions/m-p/3295040#M182844</guid>
      <dc:creator>Jayson Hurd_2</dc:creator>
      <dc:date>2004-06-03T09:05:49Z</dc:date>
    </item>
  </channel>
</rss>

