From owner-freebsd-questions Thu Feb 14 5:17:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 6EFF537B402 for ; Thu, 14 Feb 2002 05:17:35 -0800 (PST) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 95A632EFF0 for ; Thu, 14 Feb 2002 15:17:31 +0200 (EET) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g1EDK6230292 for ; Thu, 14 Feb 2002 15:20:06 +0200 (EET) Message-ID: <007401c1b550$a0a89b20$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: References: <001b01c1b4b5$9680fac0$6d36120a@comsys.ntukpi.kiev.ua> Subject: Re: Q: is it correct to make symlink /tmp -> /usr/tmp Date: Thu, 14 Feb 2002 15:10:43 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Bob Giesen 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