<?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: Change file mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858112#M95425</link>
    <description>By default the permission of files are like&lt;BR /&gt;&lt;BR /&gt;directories and exe's 777 -rwxrwxrwx&lt;BR /&gt;other files           666 rw-rw-rw-&lt;BR /&gt;&lt;BR /&gt;i.e.the umask being 000.&lt;BR /&gt;&lt;BR /&gt;When you have umask as 022 then you have&lt;BR /&gt;&lt;BR /&gt;directories as  755 and files as 644&lt;BR /&gt;&lt;BR /&gt;(subtracting 022 from 777 and 666)&lt;BR /&gt;So if you need to create files with 666 permission by default then it should be umask 000.&lt;BR /&gt;&lt;BR /&gt;But make sure this makes the files to have access to everyone.(Beware!)&lt;BR /&gt;</description>
    <pubDate>Thu, 05 Dec 2002 06:26:38 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2002-12-05T06:26:38Z</dc:date>
    <item>
      <title>Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858108#M95421</link>
      <description>I want to create a directory to let some programs to put file on it,  the  programs will generate the files with the mode 644 into this directory , while other programs need to modify the file, but it can't cos the mode is 644 ( 4 is only for read )  , how to force the mode of the all files when writing to these directory are 666 ? thx.</description>
      <pubDate>Thu, 05 Dec 2002 05:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858108#M95421</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2002-12-05T05:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858109#M95422</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use umask &lt;BR /&gt;#man umask&lt;BR /&gt;&lt;BR /&gt;Also you can change permissions of all files under a directory with&lt;BR /&gt;chmod -R&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Thu, 05 Dec 2002 05:50:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858109#M95422</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-12-05T05:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858110#M95423</link>
      <description>Since your application is creating files with 644 use umask before running the application which generates the files or use umask in the profile.&lt;BR /&gt;umask 02 creates files of 664 and 01 creates with 666&lt;BR /&gt;workout what u want&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Thu, 05 Dec 2002 06:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858110#M95423</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-05T06:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858111#M95424</link>
      <description>I just want to change the type of file , so i don't want to change the user profile. Thx.</description>
      <pubDate>Thu, 05 Dec 2002 06:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858111#M95424</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2002-12-05T06:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858112#M95425</link>
      <description>By default the permission of files are like&lt;BR /&gt;&lt;BR /&gt;directories and exe's 777 -rwxrwxrwx&lt;BR /&gt;other files           666 rw-rw-rw-&lt;BR /&gt;&lt;BR /&gt;i.e.the umask being 000.&lt;BR /&gt;&lt;BR /&gt;When you have umask as 022 then you have&lt;BR /&gt;&lt;BR /&gt;directories as  755 and files as 644&lt;BR /&gt;&lt;BR /&gt;(subtracting 022 from 777 and 666)&lt;BR /&gt;So if you need to create files with 666 permission by default then it should be umask 000.&lt;BR /&gt;&lt;BR /&gt;But make sure this makes the files to have access to everyone.(Beware!)&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2002 06:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858112#M95425</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-12-05T06:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858113#M95426</link>
      <description>I just want to change the type of file , so i don't want to change the user profile. Thx.&lt;BR /&gt;&lt;BR /&gt;If i change the umask in the profile, then the  mode of all files (whateven directory)  will be changed , I only want to change the mode in one directory , what can I do? Thx.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2002 06:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858113#M95426</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2002-12-05T06:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858114#M95427</link>
      <description>I can do it now , Thx all</description>
      <pubDate>Thu, 05 Dec 2002 07:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858114#M95427</guid>
      <dc:creator>Cheung_2</dc:creator>
      <dc:date>2002-12-05T07:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858115#M95428</link>
      <description>please tell us what is the solution and encourage the people who helped you by assigning points</description>
      <pubDate>Thu, 05 Dec 2002 07:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858115#M95428</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-12-05T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858116#M95429</link>
      <description>can you please tell us all whether you got your poblem fixed, if yes how?&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;Rajeev</description>
      <pubDate>Fri, 06 Dec 2002 03:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858116#M95429</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-06T03:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change file mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858117#M95430</link>
      <description>umask will affect all subsequent files. umask 000 will allow your files to be created with 66 permissions but that means that everyone that has a login can trash the contents of these files.&lt;BR /&gt;&lt;BR /&gt;Rather than open the permissions that allow corruption, use chmod to change the files to 664 and make the owners of the other programs part of a group. That way, only members of that group will have write permissions.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2002 04:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-file-mode/m-p/2858117#M95430</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-12-06T04:23:59Z</dc:date>
    </item>
  </channel>
</rss>

