Thanks, the patch works for me (we're usually not using acl, and that's what I've checked).
Yair. On Sun, Jan 22 2017, sf...@users.sourceforge.net wrote: > Hello Yair, > > Yair Yarom: >> We're also seeing this issue, where removexattr returns EINVAL. Our ro >> branch is nfs (without acl), and rw branch is tmpfs (without >> xattr). Mounting with noacl or with +icex doesn't help. On kernel 4.8 it >> worked fine. >> >> Simply mv'ing a directory from ext4 to the aufs will complain: >> $ mv /tmp/aaa /usr/ >> mv: preserving permissions for =E2=80=98/usr/aaa=E2=80=99: Invalid argument >> >> Our kernel is 4.9.1 with the aufs patch (commit d75e77a on 4.9 branch) > > Thanx for the report. > I think I could see the scenario. Please test this patch. > You will need "acl" mount option for aufs to gain the full support of > posix-acl. > > By the way, Justin's original post to this ML was not delivered to me. I > just got one line "cc @sfjro" msg from him, which was posted to > https://github.com/docker/docker/issues/30245. And I replied to github only. > Although I could read the same post on github, it was fortunate for me > that you replied to his post. Otherwise I could find the post much later. > > > J. R. Okajima ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot