[zfs-discuss] [osol-discuss] Which kind of ACLs does tmpfs support ?
Ian Collins
ian at ianshome.com
Tue Sep 15 20:16:15 PDT 2009
Roland Mainz wrote:
> Norm Jacobs wrote:
>
>> Roland Mainz wrote:
>>
>>> Does anyone know out-of-the-head whether tmpfs supports ACLs - and if
>>> "yes" - which type(s) of ACLs (e.g. NFSv4/ZFS, old POSIX draft ACLs
>>> etc.) are supported by tmpfs ?
>>>
>> I have some vague recollection that tmpfs doesn't support ACLs snd it
>> appears to be so...
>>
>
> Is there any RFE which requests the implementation of NFSv4-like ACLs
> for tmpfs yet ?
>
>
>> ZFS
>>
>> opensolaris% touch /var/tmp/bar
>> opensolaris% chmod A=user:lp:r:deny /var/tmp/bar
>> opensolaris%
>>
>> TMPFS
>>
>> opensolaris% touch /tmp/bar
>> opensolaris% chmod A=user:lp:r:deny /tmp/bar
>> chmod: ERROR: Failed to set ACL: Operation not supported
>> opensolaris%
>>
>
> Ok... does that mean that I have to create a ZFS filesystem to actually
> test ([1]) an application which modifies ZFS/NFSv4 ACLs or are there any
> other options ?
Use function interposition. I am currently updating an ACL manipulation
application and I use mocks for the acl get/set functions.
--
Ian.
More information about the zfs-discuss
mailing list