On Fri, Nov 20, 2015 at 7:05 PM, Konstantin Boudnik <[email protected]> wrote:
> On Tue, Oct 13, 2015 at 08:01PM, Ivan Veselovskiy wrote: > > Currently we have #create, #append , #mkdirs operations that implicitly > > create parent directories if they are absent. > > Now #mkdirs uses the properties passed in for the implicitly created > > directories if they are not null, and uses default properties (with 0777 > > permission flag) if the properties are not given. > > #create & #append use for the implicitly created directories properties > > passed in for newly created file, if the passed in properties are not > null, > > and use default properties (with 0777 permission flag) if they are not > > given. > > The question is: wouldn't it be more logical to always use defaults for > the > > implicitly created directories? > > Looks like this is way to late, but still... Perhaps more logical would be > to > do what Unix does: if permissions aren't explicitly set during creation, > those should be inherited from the parent. > > Does it makes sense? > Makes sense to me. > Cos >
