Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 15:10:43 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: Q: is it correct to make symlink /tmp -> /usr/tmp
Message-ID:  <007401c1b550$a0a89b20$6d36120a@comsys.ntukpi.kiev.ua>
References:  <001b01c1b4b5$9680fac0$6d36120a@comsys.ntukpi.kiev.ua> <E16b7bp-0005qo-00@avocet.prod.itd.earthlink.net.lucky.freebsd.questions>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: Bob Giesen <BobGiesen@earthlink.net>
Newsgroups: lucky.freebsd.questions
Sent: Thursday, February 14, 2002 1:12 AM
Subject: Re: Q: is it correct to make symlink /tmp -> /usr/tmp


> 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?

Yes and /usr file system uses SoftUpdates, root file system
doesn't use SoftUpdates.

> 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.

I also agree with it, but asked my question here for verifying.
Thanks.




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?007401c1b550$a0a89b20$6d36120a>