| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v18 00/22] Richacls (Core and Ext4) |
| From: | Steve French <smfrench@xxxxxxxxx> |
| Date: | Tue, 15 Mar 2016 22:40:00 -0500 |
| Cc: | Andreas Gruenbacher <agruenba@xxxxxxxxxx>, Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>, "J. Bruce Fields" <bfields@xxxxxxxxxxxx>, Linux NFS Mailing List <linux-nfs@xxxxxxxxxxxxxxx>, "Theodore Ts'o" <tytso@xxxxxxx>, "linux-cifs@xxxxxxxxxxxxxxx" <linux-cifs@xxxxxxxxxxxxxxx>, Linux API <linux-api@xxxxxxxxxxxxxxx>, Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>, Andreas Dilger <adilger.kernel@xxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Jeff Layton <jlayton@xxxxxxxxxxxxxxx>, linux-ext4 <linux-ext4@xxxxxxxxxxxxxxx>, Anna Schumaker <anna.schumaker@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eB01dkmWH8sBte9swqI6EXupKaKTbDP6xxCb78RdpTE=; b=maFLyVd36nE+ivEUbMCTBQ3qVIHZ+4Flljeh3DHUOtr8eOP9KVu6U19MEDiGJZZAH0 SpkylX0e2NBwgwXl+CjHUsoO2tMyGECPOHF6vvRuqM0CoqxxjJAnUb6u8gLvqnXOHgY0 t/nV2SJ97vATMVZFKoOTN3ur9i5eOI0fnnEGLxFcHMPwBRjwEiptRrBrRjbEMj212mp5 tbM9bim6TBZJ3xkydEkt4NjVJp/dbDSrqnXeeH9hWE9BbdgGNDFp8V1uOAu8R3eTrrvP y4Cod46M64W/OrI4cxiDB0zOCTR0qMerpXQ3NNi81BI/WbHmOyIz2lKXzhxliOpyhKa7 /Dmg== |
| In-reply-to: | <20160315071439.GE19747@xxxxxxxxxxxxx> |
| References: | <1456733847-17982-1-git-send-email-agruenba@xxxxxxxxxx> <20160311140134.GA14808@xxxxxxxxxxxxx> <CAHc6FU4t3yisCM=MXrHRmCja_A8eZOpVa1smJ0gUhv+vuUAuXA@xxxxxxxxxxxxxx> <CAH2r5mv3OTmPOQBV7xc-uZmB0gWxykXOCEVOcybx3tbHiViTZg@xxxxxxxxxxxxxx> <20160315071439.GE19747@xxxxxxxxxxxxx> |
On Tue, Mar 15, 2016 at 2:14 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > On Fri, Mar 11, 2016 at 02:05:16PM -0600, Steve French wrote: >> A loosely related question is what can be done for tools around existing >> interfaces for ACLs. I recently found out NTFS-3g has this xattr: >> >> static const char nf_ns_xattr_ntfs_acl[] = "system.ntfs_acl"; >> >> which allows you to query system.ntfs_acl xattr to get their full ACL > > Bah. Filesystems really have no business exposing random system xattrs, > and we really need to add a filter to fs/xattr.c to not expose > arbitrary attrs ouside the user.* prefix. Hopefully we don't consider them random system xattrs, it is plausible that ntfs uses these for user space tools that I don't have. At least for cifs.ko a similar subset (querying ACLs, streams and reparse info e.g.) to the ntfs set would be very helpful. For example, Being able to query the actual ACL over the wire, is important for backup and for debug, the only question is whether to do it via an xattr (possibly being able to have some synergy with existing ntfs-3g tools) or an ioctl (since adding an NTFS specific syscall for a couple fs doesn't make sense). For the specific example of the odd ntfs.streams.list xattr, I can see why they have it. I would have mixed feelings about having no way to tell streams and EAs from each other since NTFS-3g displaying streams as xattrs and also Extended Attributes (EAs) as xattrs (and if they didn't have an additional xattr to list streams) without a way to tell the difference (at least a system xattr to list the alternate data streams is useful). There is useful information in alternate data streams that backup (and debugging) programs need for some workloads, for example the origin (where internet explorer downloaded a file from) and file classification information. -- Thanks, Steve |
| Previous by Date: | Re: [PATCH v18 00/22] Richacls (Core and Ext4), Steve French |
|---|---|
| Next by Date: | Re: new fs, xfs_admin new label, metadata corruption detected, Chris Murphy |
| Previous by Thread: | Re: [PATCH v18 00/22] Richacls (Core and Ext4), Christoph Hellwig |
| Next by Thread: | Re: [PATCH v18 00/22] Richacls (Core and Ext4), Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |