Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 08:59:39 -0600
From:      Chip Norkus <wd@arpa.com>
To:        Louis LeBlanc <leblanc+freebsd@keyslapper.org>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: non-writeable directory - can't be removed
Message-ID:  <20021104145939.GA75425@arpa.com>
In-Reply-To: <20021104145702.GB46132@keyslapper.org>
References:  <20021104145702.GB46132@keyslapper.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon Nov 04, 2002; 09:57AM -0500 Louis LeBlanc propagated the following:
> Hey all.  I'm trying to get some temp files cleaned out, and the one
> giving me trouble is /tmp/temproot/var/empty/
> 
> The empty directory is in fact empty, but the ownership and
> permissions seem to make it impossible to remove it.  I've tried rm
> -rf, rm -df, and rmdir all as root, but all I get is:
> # rm -df empty/
> rm: empty/: Operation not permitted
> 

Try 'chflags noschg /tmp/temproot/var/empty' and then try removing it
again.

-wd
-- 
chip norkus; unix geek and programmer;          wd@arpa.com
"question = (to) ? be : !be;" --Shakespeare     http://telekinesis.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021104145939.GA75425>