Re: recursive ACL inherit

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

 



On Mon, May 13, 2013 at 01:22:22PM +0100, Oliver Lee wrote:
> Hello,
> 
> When using the nfs4_setfacl tool I've found that recursive operations
> fail when using the d or f inheritance flags because nfs4_setfacl
> tries to apply them to files as well as directories, which obviously
> doesn't make sense.
> 
> so
> 
> nfs4_setfacl -R -s A:df:OWNER@:RWX,A:dfg:GROUP@:RWX,A:df:EVERYONE@:RX /directory
> 
> You would expect to allow:
> owner read,write and execute
> group read,write and execute
> others read and execute
> applied to all directories and files under (and including) /directory,
> so that newly created files and directories also have the same
> permissions
> 
> This fails with:
> Failed setxattr operation: Input/output error
> An error occurred during recursive file tree walk.
> 
> When nfs4_setfacl encounters the first file. All directories before
> the first file are changed correctly
> 
> Am I doing something wrong or is this a bug/missing feature?

I agree, that looks like a bug to me.

> Also, the man page for nfs4_acl references nfs4_setacl in its SEE ALSO
> section, presumably this should be nfs4_setfacl?
> Finally, the man page references nfsv4@xxxxxxxxxxxxx in its CONTACT section

Fixed those two and pushed results to

	git://linux-nfs.org/~bfields/nfs4-acl-tools.git

For anything else: patches against that git tree welcomed.

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




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux