ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@apache.org>
Subject Re: IGFS: properties to use for implicit mkdirs
Date Sat, 21 Nov 2015 03:05:28 GMT
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?
  Cos

Mime
View raw message