[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: files not setting owner for directories

From: Eric Sorenson
Subject: Re: files not setting owner for directories
Date: Wed, 3 Aug 2005 09:12:57 -0700 (PDT)

On Wed, 3 Aug 2005, Jim Wight wrote:

> The owner of file2 is, as expected, corrected on the second run. There
> is no mention of the default mode under 'touch', but the documentation
> says that it is 0644 for 'create'; however, it gets it wrong too. Of
> course it is easy enough to get the modes right by setting them
> explicitly. 

I think the permissions part is related to bugid 1200868

I tracked it down to this little snippet, but I had a hard time 
wrapping my head around the bit ops: (wrapper.c:195 ff)

   filemode = DEFAULTMODE;      /* Decide the mode for filecreation */
   filemode |=   ptr->plus;
   filemode &= ~(ptr->minus);

I'll run your config through gdb and see where the ownership problems 
are coming from.

 - Eric Sorenson - N37 17.255 W121 55.738 - http://eric.explosive.net -
 - Personal colo with a professional touch - http://www.explosive.net -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]