<?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 sticky bit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581884#M924344</link>
    <description>What is the sticky bit? Where can I find doc about it?&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Sep 2001 17:48:33 GMT</pubDate>
    <dc:creator>Victor_5</dc:creator>
    <dc:date>2001-09-19T17:48:33Z</dc:date>
    <item>
      <title>sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581884#M924344</link>
      <description>What is the sticky bit? Where can I find doc about it?&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2001 17:48:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581884#M924344</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2001-09-19T17:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581885#M924345</link>
      <description>man ls&lt;BR /&gt;this will tell you what it is (search for sticky) - it is the "s" and "S" modes. It is set with chmod, see man on chmod with u+s, g+s, o+s options.</description>
      <pubDate>Wed, 19 Sep 2001 17:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581885#M924345</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2001-09-19T17:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581886#M924346</link>
      <description>Hi Shawn:&lt;BR /&gt;&lt;BR /&gt;The sticky bit (sometimes called the sticky text bit) is the 1000 (octal) component of a files modes. To set the sticky bit on an executable, chmod 1755 a.out. Yiu can man chmod (2) for details. The idea behind is it that after a program has started, the 'text' - instructions portion of the program is retained in memory. If you have many users using a program like vi then setting the sticky bit makes the new load of the program mush faster. However, if you have many users&lt;BR /&gt;running vi, the text is already loaded and is shared by the users anyway. Here is the difference. Suppose I run vi with then sticky bit set, when I exit the text hangs around. The next launch of vi can immediately use that that text segment. However, if vi was already running the text could still be used by another process even without the sticky bit being set. &lt;BR /&gt;&lt;BR /&gt;Hope this helps, Clay</description>
      <pubDate>Wed, 19 Sep 2001 18:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581886#M924346</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-19T18:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581887#M924347</link>
      <description>From the chmod man page:&lt;BR /&gt;&lt;BR /&gt;Add or delete the save-text-image-on-file-&lt;BR /&gt; execution (sticky bit) permission.  Useful only if u is expressed or implied in who.                                 See chmod(2).&lt;BR /&gt;&lt;BR /&gt;which basically translate into this:&lt;BR /&gt;&lt;BR /&gt;If the sticky bit permissions is on for an executable, if the process is sharable, the process does not get flushed from memory after the last user terminate.&lt;BR /&gt;If the the bit is turned on for a directory, then only the owner of the file and root can delete files created in that directory.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2001 18:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581887#M924347</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-19T18:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581888#M924348</link>
      <description>Hi again Shawn:&lt;BR /&gt;&lt;BR /&gt;I suppose I should also cover the sticky bits meaning in a directory. In that case, only the owner of a file within that directory, the owner of the directory, or a user with approproiate privilieges can rm the file. The sticky bit for directories is set exactly the same way, chmod 1xxx mydir.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Wed, 19 Sep 2001 18:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581888#M924348</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-19T18:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581889#M924349</link>
      <description>Clay, or others: how do you tell if the "t" sticky bit is set on a file?</description>
      <pubDate>Wed, 19 Sep 2001 18:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581889#M924349</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2001-09-19T18:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581890#M924350</link>
      <description>There permissions on the file will show as&lt;BR /&gt;&lt;BR /&gt;-rwxr-xr-T&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Wed, 19 Sep 2001 18:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581890#M924350</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-09-19T18:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581891#M924351</link>
      <description>There are 3 uses of the sticky bit: (2 were already mentioned;&lt;BR /&gt;1) on a file:  helps keeps portions of the program in memory to make it faster to run again.&lt;BR /&gt;2) on a directory: you must own the file in the directory in order to delete it.&lt;BR /&gt;3) on a link.  This is called a transitional link which HP uses to bridge the gap between older 9.X programs and the latest OS.  This can only be set with the program /opt/upgrade/tlinstall.  /bin and /lib are examples of this.  &lt;BR /&gt;&lt;BR /&gt;And you see the sticky bit when an ls -l shows a "t" in the last position.</description>
      <pubDate>Wed, 19 Sep 2001 18:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581891#M924351</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-09-19T18:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581892#M924352</link>
      <description>So, with this in mind, should the /tmp directory have the sticky bit set?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 19 Sep 2001 19:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581892#M924352</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-19T19:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581893#M924353</link>
      <description>I typically set the sticky bit for both /tmp and /var/tmp .&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 19 Sep 2001 19:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581893#M924353</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-19T19:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581894#M924354</link>
      <description>Is there a security implication of not having the sticky bit set on /tmp (and /var/tmp)? And; Is it considered good practice to have it set on these directories?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 19 Sep 2001 20:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581894#M924354</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-19T20:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581895#M924355</link>
      <description>I'm not sure that its a security issue but considering many program write temporary file in /tmp and /var/tmp, there could be some bad implications if the someone deleted the file(s) in tmp while they're in use.&lt;BR /&gt;&lt;BR /&gt;I would say its good practice to set the sticky bit on those directories.&lt;BR /&gt;&lt;BR /&gt;Just my 2 cents.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 19 Sep 2001 20:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581895#M924355</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-19T20:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: sticky bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581896#M924356</link>
      <description>Do not confuse the 'sticky bit' (T) with the setuid bit (s).  They are perform vastly different functions.  The setuid bit is often (mistakenly) referred to as the sticky bit.&lt;BR /&gt;&lt;BR /&gt;Make sure you know which functionality you need before you set the bit.</description>
      <pubDate>Wed, 19 Sep 2001 21:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sticky-bit/m-p/2581896#M924356</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-09-19T21:19:56Z</dc:date>
    </item>
  </channel>
</rss>

