Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] x86/ppc/x86-64 test ISO available (test3) [INSTALL REPORT]

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Pierre-François Gomez <pf.gomez AT free.fr>
  • To: Benoit PAPILLAULT <benoit.papillault AT sourcemage.org>
  • Cc: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] x86/ppc/x86-64 test ISO available (test3) [INSTALL REPORT]
  • Date: Wed, 23 Mar 2005 22:39:15 +0100

Hello,

Just giving my 2c while stumbling upon your discussion, here :

Benoit PAPILLAULT <benoit.papillault AT sourcemage.org> writes:

> However, the installer contains the following lines (which seems to be
> correct):
>
> mkdir -p "${TARGET}/tmp" "${TARGET}/var/tmp" && chmod a+rwxt
> "${TARGET}/tmp" "${TARGET}/var/tmp" &&
>
> How the directory can have suid/sgid bit then?

Theoretically, it can if there's a umask lurking around at the time of
the mkdir. In practice, i don't see how it would happen during install
:)

My point is : wouldn't it be less error-prone if the second line were
just reading :

chmod 1777 "${TARGET}/tmp" "${TARGET}/var/tmp" ?

HTH

-- Pierre-François Gomez






Archive powered by MHonArc 2.6.24.

Top of Page