From owner-freebsd-questions Thu Jul 18 12:30:24 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 637F937B400 for ; Thu, 18 Jul 2002 12:30:19 -0700 (PDT) Received: from hotmail.com (oe57.pav0.hotmail.com [64.4.33.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2037343E4A for ; Thu, 18 Jul 2002 12:30:19 -0700 (PDT) (envelope-from shieronymus@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 18 Jul 2002 12:30:18 -0700 X-Originating-IP: [63.230.78.104] Reply-To: "Seth Hieronymus" From: "Seth Hieronymus" To: Cc: References: Subject: Re: permissions problem with /var/empty Date: Thu, 18 Jul 2002 13:30:56 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 18 Jul 2002 19:30:18.0989 (UTC) FILETIME=[8CF669D0:01C22E91] 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 Daniel Bye wrote: > > On Thu, Jul 18, 2002 at 12:49:17PM -0600, Seth Hieronymus wrote: > > Hello, > > > > I have a problem. When upgrading my openssh-portable, it fails to install > > when it tries to "chmod 0700 /var/empty", which gives the error message: > > Operation not permitted. The permissions on /var/empty are 0555. When I > > tried to "rm -rf /var/empty", it fails with the same error message. My /var > > is linked to /usr/var. I tried to chmod /usr/var/empty, but no difference. > I > > have stopped almost all of the services running in the background, and lsof > > reports that there aren't any processes using anything in /var/empty. > > > > Anyone have any suggestions to remedy this? > > Hmm, sounds like it might be the directory's flags. Try > > # ls -Ldlo /var/empty > > and see if the flag "schg" is set. > > If so, unset it (chflags -RH noschg /var/empty), make your changes and > reset the flag using "chflags -RH schg /var/empty". > > HTH > > Dan Thanks, that did the trick. Seth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message