setfacl -d

Hervé Kergourlay herve.kergourlay at atempo.com
Wed May 25 15:22:35 GMT 2005


Clive Lin a écrit :

>On Mon, May 23, 2005 at 01:56:59PM +0200, Herv? Kergourlay wrote:
>  
>
>>Clive Lin a 嶰rit :
>>    
>>
>>>  For freshly created directory, you have to do 'setfacl -m ...' first.
>>>$ mkdir aclTest
>>>$ setfacl -d -m u:clive:rwx aclTest
>>>setfacl: acl_calc_mask() failed: Invalid argument
>>>setfacl: failed to set ACL mask on aclTest
>>>$ setfacl -m u:clive:rwx aclTest
>>>$ getfacl aclTest | setfacl -d -b -n -M - aclTest
>>>$ getfacl -d aclTest|grep clive
>>>user:clive:rwx
>>>      
>>>
>>it's effectively working
>>but it's a very complex method, how can the standard user knows that ?
>>    
>>
>
>Perhaps it could be documented in the setfacl(1) EXAMPLES section :>
>
>  
>
the best will be to have the -d option full usable

bye
hervé



More information about the freebsd-fs mailing list