<?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: File Permission in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419965#M639869</link>
    <description>&lt;P&gt;Thanx....&lt;BR /&gt;:)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2011 09:03:16 GMT</pubDate>
    <dc:creator>Amdy_Sufiyan</dc:creator>
    <dc:date>2011-12-16T09:03:16Z</dc:date>
    <item>
      <title>File Permission</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419141#M639866</link>
      <description>&lt;P&gt;what if&amp;nbsp;user&amp;nbsp;initially didn't give rwx permission to himself.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2011 12:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419141#M639866</guid>
      <dc:creator>Amdy_Sufiyan</dc:creator>
      <dc:date>2011-12-15T12:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: File Permission</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419165#M639867</link>
      <description>&lt;P&gt;The simple answer is to use chmod. However, missing from your question is how the user was able to create a file without rwx permissions. When a user creates a file using vi or cp or touch or even file redirection, the setting for umask defines the initial mode for the file. In a new system where the (very bad) default for umask is 00, files will be created as -rw-rw-rw. NOTE: files should never be set to rwx UNLESS the file is a script (ksh, sh, perl, awk, etc). You do not want the x bit set on simple data files. If umask is 022, then permissions will default to -rw-r--r--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the user does not own the file, then the permissions (chmod) cannot be changed. Only the owner can modify the permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2011 13:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419165#M639867</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-12-15T13:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: File Permission</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419965#M639869</link>
      <description>&lt;P&gt;Thanx....&lt;BR /&gt;:)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2011 09:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-permission/m-p/5419965#M639869</guid>
      <dc:creator>Amdy_Sufiyan</dc:creator>
      <dc:date>2011-12-16T09:03:16Z</dc:date>
    </item>
  </channel>
</rss>

