<?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: user file permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148439#M157102</link>
    <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;They should not be able to *create* them with 777 perms as the default umask should be 022. The could only create them with 644 because files can only be granted 666 at creation. They have to be running chmod 777 filename after creation.&lt;BR /&gt;This is really a user education issue unless you want to set up a cron job that will hunt 777 files down &amp;amp; chmod them to a sane value.&lt;BR /&gt;&lt;BR /&gt;You could also try setting up the users with a 122 umask effectively taking away their write privilege after creation, but that could inhibit their work.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Thu, 18 Dec 2003 11:41:58 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-12-18T11:41:58Z</dc:date>
    <item>
      <title>user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148433#M157096</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Does anyone know of a way to proactively keep users from creating files with open permissions (like 777)? Currently alarming on them - but management is asking if there is way to enforce this by not allowing it in the first place. My initial response was no - but I thought I would let the experts weigh in. I am aware of umask - don't think that completely fixes the problem though...&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 11:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148433#M157096</guid>
      <dc:creator>Michael Murphy_2</dc:creator>
      <dc:date>2003-12-18T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148434#M157097</link>
      <description>You can't stop them changing the permissions on files they have already created.  You can stop them defaulting to 777 with the "umask" command in the .profile.&lt;BR /&gt; &lt;BR /&gt;If I were you, instaed of alarming on these situations, I'd run a cron job that just changed them.  Only those owned by the users mind!!!&lt;BR /&gt; &lt;BR /&gt;If things start to break, your users will stop doing it fairly quickly.</description>
      <pubDate>Thu, 18 Dec 2003 11:34:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148434#M157097</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-18T11:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148435#M157098</link>
      <description>It would be darn hard to do, I think.  There's no way I can think of to prevent them changing there umask value.  You could restrict the chmod and chgrp commands via permissions but they can still play with umask and end up more permissive than you would like.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Dec 2003 11:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148435#M157098</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-18T11:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148436#M157099</link>
      <description>You do not have control over that.&lt;BR /&gt;&lt;BR /&gt;The dafult perms ar edecided by umask setting.&lt;BR /&gt;&lt;BR /&gt;But a knowledable user can always override that setting.</description>
      <pubDate>Thu, 18 Dec 2003 11:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148436#M157099</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-18T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148437#M157100</link>
      <description>Hi&lt;BR /&gt;If you realy want to stop them doing it them run a cron to changew any 777 file they create to 000 and email them the results with a big security warning embedded in the email as to why 777 files are dangerous.  They will soon get fed up and stop doing it.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 18 Dec 2003 11:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148437#M157100</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-12-18T11:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148438#M157101</link>
      <description>Or&lt;BR /&gt;&lt;BR /&gt;Cron job =&lt;BR /&gt;&lt;BR /&gt;If file with 777 found&lt;BR /&gt;Log them off.&lt;BR /&gt;Disable their login&lt;BR /&gt;Email them that until they stop doing it this will happen.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can be nasty at times to users.&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 11:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148438#M157101</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-12-18T11:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148439#M157102</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;They should not be able to *create* them with 777 perms as the default umask should be 022. The could only create them with 644 because files can only be granted 666 at creation. They have to be running chmod 777 filename after creation.&lt;BR /&gt;This is really a user education issue unless you want to set up a cron job that will hunt 777 files down &amp;amp; chmod them to a sane value.&lt;BR /&gt;&lt;BR /&gt;You could also try setting up the users with a 122 umask effectively taking away their write privilege after creation, but that could inhibit their work.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 Dec 2003 11:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148439#M157102</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-18T11:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148440#M157103</link>
      <description>You can play games with umask but umask is only as good as its last setting. Note that 777 has to be intentionally chmod'ed for regular files created in the shell since the creation mode (before umask is applied) for regular files is 666. &lt;BR /&gt;&lt;BR /&gt;UNIX assumes that the user knows what he is doing -- there is really no answer except education. The good news is that ignorance is treatable; stupidity, on the other hand, ...&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 11:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148440#M157103</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-18T11:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148441#M157104</link>
      <description>Paula,&lt;BR /&gt; &lt;BR /&gt;Do you have a script that would set fire to their terminal as well?</description>
      <pubDate>Thu, 18 Dec 2003 11:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148441#M157104</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-18T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148442#M157105</link>
      <description>I don't think she does, but I suspect she has one that'll reach out &amp;amp; slap 'em around a little =~))&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 Dec 2003 11:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148442#M157105</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-18T11:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: user file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148443#M157106</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Very funny guys ROTFLMFAO.&lt;BR /&gt;&lt;BR /&gt;Normally I am very tolerant of users, but after being told Donâ  t do it several times then it is time for the fun and games.&lt;BR /&gt;&lt;BR /&gt;I once had a users that used to send me daft emails - a spare D class server, a small script and he was sent approx 50 â  GO AWAYâ   emails / second for 10 mins, Drastic but it worked. (I did prewarn the network guys).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 11:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-file-permissions/m-p/3148443#M157106</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-12-18T11:58:51Z</dc:date>
    </item>
  </channel>
</rss>

