From owner-freebsd-questions Thu Oct 24 6: 1:53 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 131BE37B401 for ; Thu, 24 Oct 2002 06:01:52 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4C4043E42 for ; Thu, 24 Oct 2002 06:01:45 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g9OD1Xj17336; Thu, 24 Oct 2002 08:01:33 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021024080132.00e357f8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 24 Oct 2002 08:01:32 -0500 To: Marc Perisa , Chip Wiegand From: "Jack L. Stone" Subject: Re: what's up with /var/empty? Cc: "freebsd-questions@freebsd.org" In-Reply-To: <3DB7C70E.4090801@porsche.de> References: <20021023220902.7334520a.chip@wiegand.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 12:10 PM 10.24.2002 +0200, Marc Perisa wrote: >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 > It's also "locked schg" and you will have to chflags noschg before removing: dr-xr-xr-x 2 root wheel schg 512 Oct 9 07:42 empty/ Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message