From: Wei Liu Subject: Re: [PATCH] tools: create XEN_DUMP_DIR with mode 0700 Date: Mon, 26 Oct 2015 17:15:51 +0000 Message-ID: <20151026171551.GI18674@zion.uk.xensource.com> References: <1445436956-22436-1-git-send-email-wei.liu2@citrix.com> <1445531577.2374.57.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZqlNE-0005qL-1P for xen-devel@lists.xenproject.org; Mon, 26 Oct 2015 17:15:56 +0000 Content-Disposition: inline In-Reply-To: <1445531577.2374.57.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Xen-devel , Wei Liu , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, Oct 22, 2015 at 05:32:57PM +0100, Ian Campbell wrote: > On Wed, 2015-10-21 at 15:15 +0100, Wei Liu wrote: > > That directory is used to store guest memory dump which contains > > sensitive information. > > > > Signed-off-by: Wei Liu > > Acked-by: Ian Campbell > > Have you audited all the paths we create and determined that this is the > only one which needs adjusting in this way? > No, I haven't audited all paths. I fixed this as I noticed it needed fixing. > OOI, what lead you to be concerned about the permissions on the directories > we are creating (first the xenpaging one, now this)? > I noticed the permission of xenpaging and dumpdir were different when I was doing some random things. And I wrongly assumed that xenpaging directory should be fixed. Now this patch does the right thing -- it's dumpdir's permission that should be fixed. Wei. > Ian.