Boost logo

Boost :

Subject: Re: [boost] bjam bug? Strange permission
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-08-02 13:37:24


On Aug 2, 2012, at 10:33 AM, Neal Becker <ndbecker2_at_[hidden]> wrote:

> 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):

Ok - that explains what you're seeing; and Steven's fix will get you 775 on directories, which I think is fine.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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