Sticky/sgid/suid bits safe on regular files?

Cyrille Lefevre clefevre-lists at 9online.fr
Thu Jun 17 23:41:08 GMT 2004


"Clifton Royston" <cliftonr at 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 at laposte.net


More information about the freebsd-hackers mailing list