From owner-freebsd-jail@freebsd.org Sun Jun 11 15:23:06 2017 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9385AD89032 for ; Sun, 11 Jun 2017 15:23:06 +0000 (UTC) (envelope-from gregory@nosheep.fr) Received: from lrd.nosheep.fr (lrd.nosheep.fr [84.22.99.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6112568FA9 for ; Sun, 11 Jun 2017 15:23:06 +0000 (UTC) (envelope-from gregory@nosheep.fr) Received: from [192.168.1.2] (neu67-7-83-155-8-188.fbx.proxad.net [83.155.8.188]) (Authenticated sender: gregory) by lrd.nosheep.fr (Postfix) with ESMTPSA id B17E72ADCD6 for ; Sun, 11 Jun 2017 17:13:01 +0200 (CEST) To: freebsd-jail@freebsd.org From: =?UTF-8?Q?Gr=c3=a9gory_Reinbold?= Subject: Cannot delete jail folder Message-ID: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> Date: Sun, 11 Jun 2017 17:13:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 15:23:06 -0000 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