Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2017 17:13:00 +0200
From:      =?UTF-8?Q?Gr=c3=a9gory_Reinbold?= <gregory@nosheep.fr>
To:        freebsd-jail@freebsd.org
Subject:   Cannot delete jail folder
Message-ID:  <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr>

next in thread | raw e-mail | index | archive | help
Hi,

I have installed a jail using ezjail-admin for testing the solution. 
After testing, I want to delete the jail using:

# ezjail-admin delete jailname

I see in the man page, the elete argument: only deletes ezjail's control 
file for the selected jail as well as /etc/fstab.jailname.

So, I tried to delete the folder manually using:

# rm -rf /usr/jails/jailname

Result: /usr/jailname/test/var/empty

My root are not able to delete this directory, so how I can it?


Regards

-- 
Grégory Reinbold




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?167834c1-48f8-2584-4f17-daf21dce788f>