Date: Thu, 06 Jan 2005 05:20:55 -0500 From: Chuck Swiger <cswiger@mac.com> To: "Eugene M. Minkovskii" <emin@mccme.ru> Cc: freebsd-questions@freebsd.org Subject: Re: can't remove directory Message-ID: <41DD1107.7000002@mac.com> In-Reply-To: <20050106101453.GA26081@mccme.ru> References: <20050106085437.GA20461@mccme.ru> <LOBBIFDAGNMAMLGJJCKNMEPEEPAA.tedm@toybox.placo.com> <20050106101453.GA26081@mccme.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Eugene M. Minkovskii wrote: > On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote: > " What is the error message when you: [ ...steps removed... ] > Sorry Ted. System write "Operation not permitted": > > rm: /var/old-tmp/temproot/var/empty: Operation not permitted > rm: /var/old-tmp/temproot/var: Directory not empty > rm: /var/old-tmp/temproot: Directory not empty > rm: /var/old-tmp: Directory not empty Ah, what's happened is that the system immutable flag has been set on that directory. You'll need to do: chflags -R noschg /var/old-tmp rm -rf /var/old-tmp -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41DD1107.7000002>