setuid/sticky bit on directories

From: F. Even (aixlists_at_ELITISTS.ORG)
Date: 02/18/05

  • Next message: Mike Tibor: "Re: setuid/sticky bit on directories"
    Date:         Thu, 17 Feb 2005 17:26:49 -0600
    To: aix-l@Princeton.EDU
    
    

    OK....maybe someone else here has an idea on what should be a simple
    basic unix question that I'm having trouble figuring out the answer to.

    I've got a db admin who wants to have a folder where when someone adds
    a file to it, it is owned to the owner of the directory (on an AIX
    box).

    From what I've been reading in my basic unix books and chmod manpages,
    it would seem that I would need to set the setuid bit on the
    directory. But AIX's chmod man page doesn't seem to indicate that
    will necessarily work, and I've tried it, and it doesn't. Oddly
    enough, FreeBSD's manpage indicates that will work, but it doesn't
    seem to on FreeBSD 4.0.

    ...and reading up on the sticky bit, it doesn't seem like this will
    accomplish what I want either. So I guess my questions are, is this
    possible, and if so, how do I go about accomplishing it? This seems
    like it should be basic, and that I should know it...but am having
    trouble with it....

    Thanks!!
    Frank


  • Next message: Mike Tibor: "Re: setuid/sticky bit on directories"