Re: ACL issue (Was Re: HEADS UP: ZFSv28 is in!)

From: Steve Wills <swills_at_FreeBSD.org>
Date: Sun, 06 Mar 2011 09:43:34 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/06/11 08:35, Steve Wills wrote:
> On 03/06/11 04:22, Edward Tomasz NapieraBa wrote:
>> Wiadomo[ napisana przez Steve Wills w dniu 2011-03-06, o godz. 05:11:
> 
>> [..]
> 
>>> Thanks for your work on this, I'm very happy to have ZFS v28. I just
>>> updated my -CURRENT system from a snapshot from about a month ago to
>>> code from today. I have 3 pools and one of them is for ports tinderbox.
>>> I only upgraded that pool. When I try to build something using
>>> tinderbox, I get this error:
>>>
>>> cp: failed to set acl entries for
>>> /usr/local/tinderbox/9-CURRENT-amd64-FreeBSD/buildscript: Operation not
>>> supported
> 
>> What does "mount" show?
> 
> /dev/md4 12186190 332724 11853466 3%
> /usr/local/tinderbox/9-CURRENT-amd64-FreeBSD
> 
> Sorry, I forgot about the mdmfs hacks I had in my local tinderd. Without
> them, it works fine. So the problem seems to be in mfs rather than zfs.

I should have said mdmfs, but all that's doing is running mdconfig and
newfs for me. I've reproduced the issue without mdmfs:

% mdconfig -a -t swap -s 12G -u 4
% newfs -m 0 -o time /dev/md4
[...]
% mount /dev/md4 /tmp/foobar
% cp -p /usr/local/tinderbox/scripts/lib/buildscript /tmp/foobar
cp: failed to set acl entries for /tmp/foobar/buildscript: Operation not
supported

Without -p it works fine. FWIW:

% getfacl /usr/local/tinderbox/scripts/lib/buildscript
# file: /usr/local/tinderbox/scripts/lib/buildscript
# owner: root
# group: wheel
            owner_at_:--------------:------:deny
            owner_at_:rwxp---A-W-Co-:------:allow
            group_at_:-w-p----------:------:deny
            group_at_:r-x-----------:------:allow
         everyone_at_:-w-p---A-W-Co-:------:deny
         everyone_at_:r-x---a-R-c--s:------:allow

Any suggestions on where the problem could be?

Thanks,
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBAgAGBQJNc52WAAoJEPXPYrMgexuhayoH/ROak0Vj2Ezh3t0ViqeZ8n/v
Pa60x/MDvHcoqtEUM6CQulvf88pAjat07JCwoZKf2qlNgZgrcoK5gPjSeDsN+9jW
LJxuFIyTOAmNxVC3FJgRuynTv06nAXDJu9f8psYVQS8EW56UQ9gmvKWNA3v80w2F
bre2qzHneA42+5ZvVLnK6sSMJ2IBoyk9F1FXamUsP74TKygDL3iijatWWROJ+lQ+
HdY+TnmKEkZcXbl5qhya4etpPOxKcuTCD/VqYvUJXqkseIny9SE60xVhGyQWlDkU
xEtjHQL8oRkc5CTHpCVJQMFiVGNFpBKutZq56wAaG0xgcDuWhvHJ3hcv8m93VYg=
=c86J
-----END PGP SIGNATURE-----
Received on Sun Mar 06 2011 - 13:43:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC