Re: Problems with POSIX ACL <=> NFSv4 ACL mapping in mainline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jun 26, 2006  20:07 +0200, Andreas Gruenbacher wrote:
> On Monday, 26 June 2006 19:52, Andreas Dilger wrote:
> > On Jun 26, 2006  17:30 +0200, Andreas Gruenbacher wrote:
> > > The result were errors when copying files with cp -p (which preserves
> > > xattrs).
> >
> > Is that true of "cp" in general, or only SuSE "cp"?
> 
> It's our cp only right now.
> 
> > We get problems with 
> > Lustre when root is copying files, because SuSE cp is incorrectly trying to
> > copy all of the EAs by default.  If I have an EA that is specific to a
> > file I don't necessarily want it to be copied.
> 
> There's a blacklist in libattr which we could add Lustre attributes to.

I figured as much after digging through the SLES-patched cp, I just hadn't
gotten as far as grabbing the libattr source and seeing what that was.  Is
this blacklist specific to the SLES libattr, or is this in the released
version?

> A blacklist somewhere in /etc would be even better though I guess.

Definitely, yes.  Given that libselinx gropes around in a several files
already, adding one more won't hurt.  Something like /etc/libattr.conf?

> > It would probably be preferrable that cp only copy EAs that it understands.
> 
> What to do with unknown attributes? Warn? Err out?

Warn once, maybe with pointer to /etc/libattr.conf for adding to include or
exclude list.  Given that copying file attributes isn't guaranteed in any
case, we can probably safely live without copying everything.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux