Date: Sun, 11 Jun 2017 19:12:58 +0200 From: Dirk Engling <erdgeist@erdgeist.org> To: freebsd-jail@freebsd.org, =?ISO-8859-1?Q?Gr=E9gory_Reinbold?= <gregory@nosheep.fr> Subject: Re: Cannot delete jail folder Message-ID: <BF71F843-BFA2-4643-914F-B083959D7B05@erdgeist.org> In-Reply-To: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> References: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Currently on the road=2E But FAQ answers your question=2E Look for noschg h= ttps://erdgeist=2Eorg/arts/software/ezjail/#faq Best erdgeist Am 11=2E Juni 2017 17:13:00 MESZ schrieb "Gr=C3=A9gory Reinbold" <gregory@= nosheep=2Efr>: >Hi, > >I have installed a jail using ezjail-admin for testing the solution=2E=20 >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=20 >file for the selected jail as well as /etc/fstab=2Ejailname=2E > >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 > >--=20 >Gr=C3=A9gory Reinbold > >_______________________________________________ >freebsd-jail@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-jail >To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd=2Eorg" --=20 Diese Nachricht wurde von meinem Android-Ger=C3=A4t mit K-9 Mail gesendet= =2E From owner-freebsd-jail@freebsd.org Sun Jun 11 17:26:13 2017 Return-Path: <owner-freebsd-jail@freebsd.org> 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 100EDD8B44E for <freebsd-jail@mailman.ysv.freebsd.org>; Sun, 11 Jun 2017 17:26:13 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-f180.google.com (mail-yb0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C90F57084B for <freebsd-jail@freebsd.org>; Sun, 11 Jun 2017 17:26:12 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-f180.google.com with SMTP id 202so23136560ybd.0 for <freebsd-jail@freebsd.org>; Sun, 11 Jun 2017 10:26:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dcMAkTzCPkARU5EC3vFesN0BwJQGV2uSIbWKdgEIuBA=; b=CXdFon6+BO8YJs1peug6OnvaklC/LVC23Sx1eE2lInZrdRrE+46Ws2KOQpMew1x/Tu Fe7efFLLhCiGhBHpMfrZ1r+HhSYpoBCd6kyoiOmTborJbB43Mv/3mrRGmYPuDLFUAXYO FlPzTrfmYZSY5yr3ImQTaltIBcDQub8Vp+QpCRlwIEUVp/yZDCdeCxXSEua40SLOOVsp gxO5HjIs/kqn6TYWYS2iJQoQ+z5xjpOOkh9nVpTlc8zua9tHT88TXWYOXUjsv/dXXzAF vGA/MG3LdPBlt3m/Yu4Pc4EfXwjRuOZ85Ze2bh0Tbt+bfOWqy9Do05mPy4uIgkcXwu2J OyEg== X-Gm-Message-State: AODbwcBIih1sEhoR/UONH66NLyKznLOrZHsPnorMaunAomJ/3NIuzZwR Ny8nO3nk87aqo43/VA0= X-Received: by 10.37.80.68 with SMTP id e65mr22416545ybb.148.1497200382279; Sun, 11 Jun 2017 09:59:42 -0700 (PDT) Received: from mail-yb0-f182.google.com (mail-yb0-f182.google.com. [209.85.213.182]) by smtp.gmail.com with ESMTPSA id i128sm2863549ywf.17.2017.06.11.09.59.41 for <freebsd-jail@freebsd.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 09:59:42 -0700 (PDT) Received: by mail-yb0-f182.google.com with SMTP id o9so23051994yba.3 for <freebsd-jail@freebsd.org>; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) X-Received: by 10.37.68.87 with SMTP id r84mr22208529yba.229.1497200381721; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.6.146 with HTTP; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) In-Reply-To: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> References: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> From: Richard Gallamore <ultima@freebsd.org> Date: Sun, 11 Jun 2017 09:59:41 -0700 X-Gmail-Original-Message-ID: <CANJ8om7nfVhE024O1hZy1HEV7=pBY5fL77DOJMLwE7zg7ugg6Q@mail.gmail.com> Message-ID: <CANJ8om7nfVhE024O1hZy1HEV7=pBY5fL77DOJMLwE7zg7ugg6Q@mail.gmail.com> Subject: Re: Cannot delete jail folder To: =?UTF-8?Q?Gr=C3=A9gory_Reinbold?= <gregory@nosheep.fr> Cc: freebsd-jail@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" <freebsd-jail.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-jail>, <mailto:freebsd-jail-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-jail/> List-Post: <mailto:freebsd-jail@freebsd.org> List-Help: <mailto:freebsd-jail-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-jail>, <mailto:freebsd-jail-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 11 Jun 2017 17:26:13 -0000 chflags -R 0 will remove any system flags that may causing issues deleting. Hope this helps Richard Gallamore On Sun, Jun 11, 2017 at 8:13 AM, Gr=C3=A9gory Reinbold <gregory@nosheep.fr> wrote: > Hi, > > I have installed a jail using ezjail-admin for testing the solution. Afte= r > 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=C3=A9gory Reinbold > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF71F843-BFA2-4643-914F-B083959D7B05>