<?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 owner mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370198#M347236</link>
    <description>Heaman: "many user will update this file and change the mode"&lt;BR /&gt;&lt;BR /&gt;You may need to find why they are changing the permission of the file. You could restrict this.&lt;BR /&gt;&lt;BR /&gt;It might be easy if you could write a script in the application itself to ask a warning to the user to change the permission to 666 once they are done with their jobs.&lt;BR /&gt;&lt;BR /&gt;NOTE: The users are changing permission for some specific reason and you changing the permission again to 666 might well be like "user not changing the permission"</description>
    <pubDate>Tue, 03 Mar 2009 07:01:43 GMT</pubDate>
    <dc:creator>Avinash20</dc:creator>
    <dc:date>2009-03-03T07:01:43Z</dc:date>
    <item>
      <title>File owner mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370195#M347233</link>
      <description>I have a file in my server , many user will update this file and change the mode , can advise if I want the file mode is keep to "666" even it have been updated by user , what can i do ? &lt;BR /&gt;&lt;BR /&gt;p.s. what I do is run a crontab job chmod 66 my_file , except this method , what can i do ? thx</description>
      <pubDate>Tue, 03 Mar 2009 06:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370195#M347233</guid>
      <dc:creator>heaman1</dc:creator>
      <dc:date>2009-03-03T06:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: File owner mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370196#M347234</link>
      <description>hi heaman1,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;if I want the file mode is keep to "666" even it have been updated by user , what can i do ? &lt;BR /&gt;&lt;BR /&gt;if you set the permission 666 (4+2), 4 stands for READ permission and 2 for WRITE permissions, that means you have given write permissions to the Owner, group and everybody else for that file.&lt;BR /&gt;&lt;BR /&gt;if you dont want to permit group members as well as others, remove write permissions by simply&lt;BR /&gt;&lt;BR /&gt;#chmod g-w,o-w &lt;FILE name=""&gt;&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;#chmod 644 &lt;FILE name=""&gt;&lt;BR /&gt;&lt;BR /&gt;go for "man chmod" for more info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WR,&lt;BR /&gt;prasad&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 03 Mar 2009 06:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370196#M347234</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2009-03-03T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: File owner mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370197#M347235</link>
      <description>&lt;BR /&gt;I think the same user id is shared by the many people. The file permission can be changed by owner of the file or by root user. If you are sharing the same user id with many people then change the ownership of this file to root or some other user. As long as a file has 666, it is possible to write on to this file by any user. Remember that when you grant write permission to all, any body can delete it.</description>
      <pubDate>Tue, 03 Mar 2009 07:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370197#M347235</guid>
      <dc:creator>Vinoyee Madashery Poulo</dc:creator>
      <dc:date>2009-03-03T07:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: File owner mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370198#M347236</link>
      <description>Heaman: "many user will update this file and change the mode"&lt;BR /&gt;&lt;BR /&gt;You may need to find why they are changing the permission of the file. You could restrict this.&lt;BR /&gt;&lt;BR /&gt;It might be easy if you could write a script in the application itself to ask a warning to the user to change the permission to 666 once they are done with their jobs.&lt;BR /&gt;&lt;BR /&gt;NOTE: The users are changing permission for some specific reason and you changing the permission again to 666 might well be like "user not changing the permission"</description>
      <pubDate>Tue, 03 Mar 2009 07:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370198#M347236</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: File owner mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370199#M347237</link>
      <description>&amp;gt;vinoyee: Remember that when you grant write permission to all, anybody can delete it.&lt;BR /&gt;&lt;BR /&gt;That's incorrect, you can't remove the file unless the directory is writable but you can delete the contents.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Avinash: You may need to find why they are changing the permission of the file.&lt;BR /&gt;&lt;BR /&gt;Possibly the editor or the tool is recreating the file vs overwriting it?</description>
      <pubDate>Tue, 03 Mar 2009 17:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-owner-mode/m-p/4370199#M347237</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-03T17:25:05Z</dc:date>
    </item>
  </channel>
</rss>

