bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Andreas Grünbacher
2015-06-23 20:43 GMT+02:00 Michael Stone : > Well, moving things around on an NFSv4 filesystem is the request I received, > not converting the ACL from NFSv4 to POSIX. :) I'm not convinced that it's > possible to transparently map arbitrary ACLs from one filesystem to another > given different sema

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Michael Stone
On Tue, Jun 23, 2015 at 08:22:44PM +0200, Andreas Grünbacher wrote: Somewhat. The "system.nfs4_acl" attribute is nfs specific though: its format isn't well suited for other file systems. Adding support to gnulib would only make copying permissions on nfs work, not across different file system typ

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Andreas Grünbacher
2015-06-23 19:48 GMT+02:00 Michael Stone : > On Tue, Jun 23, 2015 at 05:39:14PM +0100, Pádraig Brady wrote: >> >> There have been recent changes in this area, >> so we need to know the version to help determine >> if this is a regression or was always an issue. > > > 8.23, 8.13 > > On Tue, Jun 23,

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Michael Stone
On Tue, Jun 23, 2015 at 05:39:14PM +0100, Pádraig Brady wrote: There have been recent changes in this area, so we need to know the version to help determine if this is a regression or was always an issue. 8.23, 8.13 On Tue, Jun 23, 2015 at 07:05:43PM +0200, Andreas Grünbacher wrote: I assume

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Andreas Grünbacher
I assume we are talking about a Linux client with NFSv4 in all cases. If so, then the Solaris code isn't going to be used. What does strace show? 2015-06-23 18:39 GMT+02:00 Pádraig Brady : > > On 23/06/15 17:02, Michael Stone wrote: > > I'm looking for some information before I run too far down t

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Pádraig Brady
On 23/06/15 17:02, Michael Stone wrote: > I'm looking for some information before I run too far down this rathole. > Currently cp --preserve=all will attempt to preserve both the unix modes and > any ACL on a file. This seems to be working entirely as expected with a > linux NFS4 client & server

bug#20884: copying NFS4 ACLs portably

2015-06-23 Thread Michael Stone
I'm looking for some information before I run too far down this rathole. Currently cp --preserve=all will attempt to preserve both the unix modes and any ACL on a file. This seems to be working entirely as expected with a linux NFS4 client & server. If I attempt the same using a solaris server,