AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  "sticky bit" in AIX

    Posted Sun March 16, 2008 10:14 PM

    Originally posted by: SystemAdmin


    Hi,

    According to "sticky bit" on wikipedia, sticky bit is obsoleted in UNIX world nowadays. However that item did not mention AIX at all, and I wonder why there's nothing on redbooks or AIX 5L wiki talking about the 'sticky bit' at all. So, would anyone tell where I can get relevant staff to read? Thanks


  • 2.  Re: "sticky bit" in AIX

    Posted Mon March 17, 2008 01:31 PM

    Originally posted by: unixgrl


    check the manpages for "ls" and "chmod". The ls manpage still references the "t" as a sticky bit. Under chmod, they don't call it a sticky bit. Instead, the term "save-text" is used.
    It says when set on a directory, only file owners can link or unlink.

    IBM's infocenter might have more information than the manpages if you need it.


  • 3.  Re: "sticky bit" in AIX

    Posted Fri March 21, 2008 04:22 AM

    Originally posted by: SystemAdmin


    Thanks a lot


  • 4.  Re: "sticky bit" in AIX

    Posted Thu April 01, 2010 03:07 PM

    Originally posted by: Michael.A


    Whats the difference between stickybit,uid,gid...could anyone explain..
    For Ex,
    1777,
    2777,
    4777


  • 5.  Re: "sticky bit" in AIX

    Posted Fri April 30, 2010 09:30 PM

    Originally posted by: aixdoctor


    Hi

    Just to clarify

    Sticky bit is the wrong terminology it's actually called setuid, if it is in owner's field then it will run the program with the effective owner's id who own's the program, and if it is set in group field then it will run the effective group id.

    sticky bit represents 't' which is usually on directories, this means that only owner can link and unlink the files in that directory, only if it's turned on.

    Hope this helps

    Raf


  • 6.  Re: "sticky bit" in AIX

    Posted Mon May 03, 2010 12:08 AM

    Originally posted by: Kosala


    On a additional note, as WikiPedia explains in the History section, sticky bit "t" represents, a executable will stay in memory even after termination. But in modern computers, with ample memory, this happens for most of the applications even without the sticky bit, so this does not make much of a sense for files. But I do believe still files can be set with a sticky bit.

    Kosala