From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 2054E7F4E for ; Wed, 30 Jan 2013 12:18:50 -0600 (CST) Date: Wed, 30 Jan 2013 12:18:46 -0600 From: Ben Myers Subject: Re: [PATCH] xfstests: test dump/restore of file capabilities Message-ID: <20130130181846.GN27055@sgi.com> References: <50E61CC3.1000108@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <50E61CC3.1000108@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Eric Sandeen Cc: =?iso-8859-1?Q?fugazzi=AE?= , xfs-oss On Thu, Jan 03, 2013 at 06:05:23PM -0600, Eric Sandeen wrote: > xfsrestore isn't properly restoring file capabilities; it restores > them, but then chowns the file, which removes the caps: > = > Call Trace: > [] xfs_xattr_set+0x118/0x120 [xfs] > [] generic_removexattr+0x80/0x90 > [] cap_inode_killpriv+0x28/0x30 > [] security_inode_killpriv+0x16/0x20 > [] notify_change+0x18f/0x330 > [] chown_common+0x60/0xa0 > [] sys_fchown+0x80/0xd0 > [] system_call_fastpath+0x16/0x1b > = > This test demonstrates the problem. > = > Reported-by: fugazzi=AE > Signed-off-by: Eric Sandeen Applied. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs