[SM-Discuss] x86/ppc/x86-64 test ISO available (test3) [INSTALL REPORT]
Pierre-François Gomez
pf.gomez at free.fr
Wed Mar 23 16:39:15 EST 2005
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
More information about the SM-Discuss
mailing list