From owner-freebsd-questions@FreeBSD.ORG Thu Feb 15 09:41:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CC4F16A402 for ; Thu, 15 Feb 2007 09:41:34 +0000 (UTC) (envelope-from vinzstyle@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABA213C474 for ; Thu, 15 Feb 2007 09:41:33 +0000 (UTC) (envelope-from vinzstyle@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so92702ugh for ; Thu, 15 Feb 2007 01:41:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YXC4jj8QzKu7maOrylpbeIUQXzdaZXpsV8bvOpae4p51wW4ANKUDnAC6hELoQFIpRxVNuyeWugpQxgICOROP91LyihYM/u6T7apoKGXi014PMvMXXTImAo7CdunK4Yxy1lfOjz3xr6UHU31Ig71baEc1W9F/8j7IwHMfuNVlAKg= Received: by 10.78.185.7 with SMTP id i7mr388418huf.1171532490507; Thu, 15 Feb 2007 01:41:30 -0800 (PST) Received: by 10.78.139.5 with HTTP; Thu, 15 Feb 2007 01:41:30 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2007 10:41:30 +0100 From: "Vincent Bolinard" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Jailed mysqld doesn't work after a backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 09:41:34 -0000 Hi, Yesterday, I backed up my MySQL jail with "tar jcpf" (and used tar jxpvf to extract). Now, when I try to run it as I used to (jail -U mysql /jail/mysqld/ mysqld.domaine.com 192.168.1.6 /usr/local/libexec/mysqld &), it fails giving me a "Permission Denied" error. If I try to run it with "chroot -u mysql /jail/mysqld /usr/local/libexec/mysqld &", it works ! I don't understand. Does somebody have an idea ? Thank you. P.S.: I'm running FreeBSD 6.2-RELEASE and MySQL server 5.0.27.