GN: CreateDirectory permission
Reported by
jack.ba...@gmail.com,
Oct 11 2016
|
||
Issue descriptionWhen 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.) gn-dev thread: https://groups.google.com/a/chromium.org/d/msg/gn-dev/Xz4G3EBaNhU/uMLoqllaGQAJ
,
May 11 2017
That may be because we create directories with mkdir(i->value().c_str(), 0700).
,
May 11 2017
While ninja does mkdir(path.c_str(), 0777).
,
Jun 23 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by dpranke@chromium.org
, Oct 12 2016Components: Build
Labels: Build-Tools-GN OS-All
Owner: brettw@chromium.org
Status: Untriaged (was: Unconfirmed)