Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 07:44:50 -0400
From:      Nathan Vidican <nathan@vidican.com>
To:        Aiza <aiza21@comclark.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: delete directory
Message-ID:  <795fc2b81003240444u24ed0ee3r7ac4ee6628898c20@mail.gmail.com>
In-Reply-To: <4BA95CF5.7090401@comclark.com>
References:  <4BA95CF5.7090401@comclark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Check the chflags; 'man chflags'

On Tue, Mar 23, 2010 at 8:29 PM, Aiza <aiza21@comclark.com> wrote:

> This directory named empty has read/exec permissions.
> How do I delete it?
>
> # /usr/jails/newjail/var >ls -l
> total 2
> dr-xr-xr-x  2 root  wheel  512 Nov 21 22:53 empty
> # /usr/jails/newjail/var >cd empty
> # /usr/jails/newjail/var/empty >ls -l
> total 0
> # /usr/jails/newjail/var/empty >cd ..
> # /usr/jails/newjail/var >rmdir empty
> rmdir: empty: Operation not permitted
> # /usr/jails/newjail/var >rm -rf empty
> rm: empty: Operation not permitted
> # /usr/jails/newjail/var >chmod 777 empty
> chmod: empty: Operation not permitted
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



-- 
Nathan Vidican
nathan@vidican.com
(519) 962-9987 (Canada)
(313) 586-1982 (USA)



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