Boost logo

Boost :

Subject: Re: [boost] bjam bug? Strange permission
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2012-08-02 13:33:37


Marshall Clow wrote:

> On Aug 2, 2012, at 8:19 AM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>
>> AMDG
>>
>> On 08/02/2012 07:47 AM, Neal Becker wrote:
>>> While tracking down strange directory permissions, I noticed this:
>>>
>>> find . -name .hg -prune -o -type d \( \! -perm 755 -and \! -perm 775 \) -ls
>>> 17315044 4 drwxrw-r-- 3 nbecker nbecker 4096 Aug 2 08:41
>>> ./bin.v2
>>>
>>> I assume that dir was created by bjam during the test build, for some reason
>>> with strange mode.
>>>
>>
>> The problem is
>> mkdir(path, 0766);
>
> But Neal's getting 0764 - strange.
>
> Neal - what's your umask?

Common setting on Redhat-ish linux (in my case, fedora):

umask
0002


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk