Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 16:10:41 -0600
From:      Bob Giesen <BobGiesen@earthlink.net>
To:        "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>, <freebsd-questions@freebsd.org>
Subject:   Re: Q: is it correct to make symlink /tmp -> /usr/tmp
Message-ID:  <E16b7bp-0005qo-00@avocet.prod.itd.earthlink.net>
In-Reply-To: <001b01c1b4b5$9680fac0$6d36120a@comsys.ntukpi.kiev.ua>
References:  <001b01c1b4b5$9680fac0$6d36120a@comsys.ntukpi.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 13 February 2002 11:40 am, Andrey Simonenko wrote:
> Hi all,
>
> Is there any security pitfalls if I delete /tmp, create /usr/tmp
> and make symlink /tmp to /usr/tmp?
>
> ps: /tmp is not a separate fs, it is directory in root fs

   Jooc (just out of curiosity), do you have separate / and /usr 
slices and are you trying to free up some root-slice space?  I've 
seen it done this way, frequently.  There shouldn't be any security 
issues, unless you're doing something out of the ordinary with 
pernissions and/or automounting of /usr.  (Automounting usr would, 
indeed be out of the ordinary...)  Since /tmp and /usr/tmp are, 
presumably, world-readable and -writable, it shouldn't cause any 
problems.

-- 
"A man is incomplete until he is married. After that, he is 
finished."  -- Zsa Zsa Gabor (1918-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16b7bp-0005qo-00>