Re: IGFS: properties to use for implicit mkdirs

2015-11-25 Thread Konstantin Boudnik
On Wed, Nov 25, 2015 at 09:26PM, Ivan V. wrote: > umask is 0002 on my Linux. (This is why the middle directories have 775 > permission in the above experiment. 022 would lead to 755.) Yeah, sorry - that's what I was going to say and the mixed up with my own ;) Looks like the proposed fix makes se

Re: IGFS: properties to use for implicit mkdirs

2015-11-25 Thread Ivan V.
umask is 0002 on my Linux. (This is why the middle directories have 775 permission in the above experiment. 022 would lead to 755.) On Mon, Nov 23, 2015 at 10:48 PM, Konstantin Boudnik wrote: > May I ask what's is the output of umask command on your system? > > Cos > > P.S. I have a hunch though

Re: IGFS: properties to use for implicit mkdirs

2015-11-23 Thread Konstantin Boudnik
May I ask what's is the output of umask command on your system? Cos P.S. I have a hunch though it is 0022 On Mon, Nov 23, 2015 at 02:01PM, Ivan V. wrote: > Hi, Konstantin, > > >Perhaps more logical would be to do what Unix does: if permissions aren't > explicitly set during creation, those shou

Re: IGFS: properties to use for implicit mkdirs

2015-11-23 Thread Ivan V.
Hi, Konstantin, >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. as per my observations on Linux, the implicitly created directories take default permissions 0777 & ~umask but not inherit them fro

Re: IGFS: properties to use for implicit mkdirs

2015-11-21 Thread Dmitriy Setrakyan
On Fri, Nov 20, 2015 at 7:05 PM, Konstantin Boudnik 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

Re: IGFS: properties to use for implicit mkdirs

2015-11-20 Thread Konstantin Boudnik
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 defa

IGFS: properties to use for implicit mkdirs

2015-10-13 Thread Ivan Veselovskiy
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