From owner-freebsd-questions Thu Oct 24 3: 2:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF43437B401 for ; Thu, 24 Oct 2002 03:02:46 -0700 (PDT) Received: from gate21.fw.porsche.de (gate23.fw.porsche.de [193.174.9.99]) by mx1.FreeBSD.org (Postfix) with SMTP id E9CFC43E3B for ; Thu, 24 Oct 2002 03:02:45 -0700 (PDT) (envelope-from perisa@porsche.de) Received: (qmail 29066 invoked from network); 24 Oct 2002 10:10:40 -0000 Received: from unknown (HELO wuxin011.ibd.porsche.de) (141.36.65.1) by 193.197.149.150 with SMTP; 24 Oct 2002 10:10:40 -0000 Received: (qmail 23308 invoked from network); 24 Oct 2002 10:02:44 -0000 Received: from beastie.ibd.porsche.de (HELO porsche.de) (141.36.3.29) by smtp4cli.ibd.porsche.de with SMTP; 24 Oct 2002 10:02:43 -0000 Message-ID: <3DB7C70E.4090801@porsche.de> Date: Thu, 24 Oct 2002 12:10:22 +0200 From: Marc Perisa User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020709 X-Accept-Language: en, de-de, es-es MIME-Version: 1.0 To: Chip Wiegand Cc: "freebsd-questions@freebsd.org" Subject: Re: what's up with /var/empty? References: <20021023220902.7334520a.chip@wiegand.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Chip, Chip Wiegand wrote: > I just finished installing 4.7 and want to move /var to /usr/var and > symlink it, but there is an empty subdirectory called empty > (/var/empty). It is not going away when I try to delete the /var > directory after moving it to /usr/var. It has permissions like this: > dr-xr-xr-x root wheel > Seems like I had to do something about a sticky bit, but don't recall > and can't find anything in the list archives about this. > Can someone remind me? And this time I'll write it down in my notebook. > it is not about sticky bits. /var/empty is used since OpenSSH 3.4 to chroot the child process. man sshd will tell you more. So, stop sshd (all of them I think) and then it should work Hope that helps Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message