Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 01:41:05 +0200
From:      "Cyrille Lefevre" <clefevre-lists@9online.fr>
To:        "Clifton Royston" <cliftonr@lava.net>, <hackers@freebsd.org>
Subject:   Re: Sticky/sgid/suid bits safe on regular files?
Message-ID:  <070301c454c4$8f17ee90$7890a8c0@dyndns.org>
References:  <20040617205549.GA19254@lava.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Clifton Royston" <cliftonr@lava.net> wrote:
[snip]
>   Can anybody confirm for me that the suid, sgid, and sticky bit are in
> fact no-ops for FreeBSD on regular non-executable files, as it appears
> they should be?

how about the use of hard link which is not os depedent ?

if ln source .source; then
    ok
else
    locked
fi

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre@laposte.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?070301c454c4$8f17ee90$7890a8c0>