can't remove directory
Chuck Swiger
cswiger at mac.com
Thu Jan 6 02:21:41 PST 2005
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
More information about the freebsd-questions
mailing list