Problem with default ACLs and mask

Heinrich Rebehn rebehn at ant.uni-bremen.de
Wed Aug 27 09:13:40 UTC 2008


Robert Watson wrote:
> 
> On Fri, 14 Oct 2005, Victor Sudakov wrote:
> 
>> Heinrich Rebehn wrote:
>>>
>>
>> [dd]
>>> Am i doing something wrong here? Why is the mask not propagated?
>>
>> I am afraid the current umask prevents it. You must set it to 
>> something like "umask 002" before you create your files or directories 
>> (the group write bit matters here).
> 
> The problem, so to speak, is that we actually implement what is 
> described in the POSIX.1e spec.  When we did our initial implementation, 
> the various OS's varied a bit in the semantics they implemented:
> 
> - Solaris implemented umask override if the mask was specified in the
>   default ACL.
> - IRIX implemented the spec.
> 
> Since that time, Linux has turned up and implemented the Solaris model, 
> and IRIX has switched to the Solaris model also as a result of peer 
> pressure.  I've previouly looked at switching us, but it tears up our 
> kernel APIs some and will require significant testing.  I had hoped to 
> do this for FreeBSD 6.x but was derailed working on other problems that 
> needed to be fixed.  My hope is to change the default in FreeBSD 7.x. 

Hi Robert,

has there been any progress so far? This might encourage me to move to 
7.x (Still on 6.1)

Regards,

	Heinrich

-- 

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :            -3341



More information about the freebsd-fs mailing list