CreateDirectory permission

14 views
Skip to first unread message

jack....@gmail.com

unread,
Sep 30, 2016, 11:54:02 AM9/30/16
to gn-dev
When I use GN to build Chromium, I get a mix of directory permissions in the "out" directory: Some 0755 (the default on my system) and some 0700.
I think what's happening is that if Ninja created the directory, then it has the default permissions. (Likewise if the tools/gn/bootstrap/bootstrap.py script created the directory.)
If GN created the directory it has 0700 permissions.
Previously when I built with GYP, all directories had the default permissions.
This is easy to fix after the fact, but it's annoying. (For a while I was confused why my Chromium build ran, but couldn't locate its debugging symbols.)
Is this possible to fix in GN?

Dirk Pranke

unread,
Oct 10, 2016, 8:50:39 PM10/10/16
to Jack Bates, gn-dev
Did anyone respond to this? (I didn't see a response, but maybe I missed one). If not, that sounds like a bug, so maybe file one? I imagine we should be able to fix it.

-- Dirk

jack....@gmail.com

unread,
Oct 11, 2016, 7:34:03 PM10/11/16
to gn-dev, jack....@gmail.com
On Monday, October 10, 2016 at 5:50:39 PM UTC-7, Dirk Pranke wrote:
> Did anyone respond to this? (I didn't see a response, but maybe I missed one). If not, that sounds like a bug, so maybe file one? I imagine we should be able to fix it.

Thanks, filed [1]. I think I don't have permission to add the "Build-Tools-GN" label or set the component to "Build"?

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=654925

Dirk Pranke

unread,
Oct 11, 2016, 8:33:45 PM10/11/16
to Jack Bates, gn-dev
That's fine. I've updated the bug. Thanks!
Reply all
Reply to author
Forward
0 new messages