Hi Michael,

On 08.02.2012 10:40, Michael Olbrich wrote:
> On Wed, Feb 08, 2012 at 08:56:30AM +0100, Andreas Bießmann wrote:
>> Hi again ...
>>
>> On 08.02.12 08:40, Andreas Bießmann wrote:
>>> Hi Michael,
>>>
>>> On 08.02.12 08:05, Michael Olbrich wrote:
>>>> On Tue, Feb 07, 2012 at 11:40:37PM +0100, Andreas Bießmann wrote:

<snip>

>> I guess the problem is directories on the way (= 'parents') are created
>> with default credentials -> umask has an effect. But the last directory
>> in path is set to given parameters (-m755).
>>
>> Can you reproduce this too?
> 
> Yes, I can. The problem is not actually the umask, but the fact, that we're
> creating several directory levels with sudo but only change the ownership
> of the last one.
> I think we should use 'install -m0755 -d ${dir}' instead. That sets the
> correct permissions for the parent directories without messing with umask

Ok, so will you provide a proper patch?

regards

Andreas Bießmann

-- 
ptxdist mailing list
[email protected]

Reply via email to