Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 1997 03:28:11 -0800
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        Ollivier Robert <roberto@keltia.freenix.fr>, freebsd-fs@FreeBSD.ORG
Subject:   Re: disabled symlinks
Message-ID:  <199710271128.DAA22591@salsa.gv.tsc.tdk.com>
In-Reply-To: Ollivier Robert <roberto@keltia.freenix.fr> "Re: disabled symlinks" (Oct 27, 12:11am)

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 27, 12:11am, Ollivier Robert wrote:
} Subject: Re: disabled symlinks
} According to Wolfram Schneider:
} > The nosymlink flag do not allow the creation of a symlink
} > on the mounted file system.

I'd prefer an option that only affected symlinks in certain directories
(perhaps publicly writable directories).  Symlinks in /tmp are a hazard,
but symlinks in subdirectories of /tmp probably aren't.  What if you
want to unpack a tar archive containing symlinks in a subdirectory of
/tmp?

} Could you please modify your patch not to _follow_ symlinks in order to
} disallow all symlinks in a given FS ?

This is also reasonable, but what errno value is appropriate for syscalls
that encounter the forbidden symlinks?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710271128.DAA22591>