[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC acl port to FreeBSD (and maybe solaris)
From: |
Pádraig Brady |
Subject: |
Re: RFC acl port to FreeBSD (and maybe solaris) |
Date: |
Mon, 06 Jul 2015 00:08:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 05/07/15 21:55, Andreas Grünbacher wrote:
> 2015-06-30 14:32 GMT+02:00 Pádraig Brady <address@hidden>:
>> FreeBSD 9.1
>> mkdir x
>> src/cp -a x x.cp
>> lchown(0x28417050,0x148d2,0x0,0x8056750,0xffffffff,0x28417050) = 0 (0x0)
>> __acl_get_file(0xbfbfed96,0x2,0x28418000,0xbfbfe5f0,0x41ed,0x1) ERR#45
>> 'Operation not supported'
>> madvise(0x28418000,0x1000,0x5,0x8066ea8,0x8066ea0,0x4) = 0 (0x0)
>> chmod("x.cp/x",040755) = 0 (0x0)
>
> FreeBSD 10.0 fails this with errno == EINVAL in this case. It may be
> that this was already broken before the acl rewrite. I've fixed this
> in gnulib now, "acl-permissions: Fix on FreeBSD".
Is that covered with gnulib or coreutils tests?
This was tested with the latest coreutils on FreeBSD 9.1 and 10.1
with the following without being flagged as an issue:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=716083c
thanks,
Pádraig.