From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFep5-00047H-6k for qemu-devel@nongnu.org; Fri, 09 Feb 2007 18:06:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFep2-000474-Rq for qemu-devel@nongnu.org; Fri, 09 Feb 2007 18:06:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFep2-000471-Nf for qemu-devel@nongnu.org; Fri, 09 Feb 2007 18:06:28 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HFep2-0007iK-70 for qemu-devel@nongnu.org; Fri, 09 Feb 2007 18:06:28 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Two quick requests. Date: Fri, 9 Feb 2007 23:06:24 +0000 References: <200702091719.16429.rob@landley.net> <200702092248.52614.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702092306.25097.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Sure, but there are plenty of other ways to accidentally mess up the > permissions of a disk image file. A while back I had to strace qemu to > figure out why file modifications were vanishing after rebooting the > VM; the culprit turned out to be an unrelated script that had set the > image file's mode to 444. If you really want to do this, do it properly. Make it an error to use a ro image if the user [implicitly] requests rw access. Paul