New issue
Advanced search Search tips

Issue 664574 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

chromite: Replace all possible uses of SafeMakedirs with SafeMakedirsNonRoot

Project Member Reported by pprabhu@chromium.org, Nov 11 2016

Issue description

SafeMakedirsNonRoot tries hard to create non-root directories, even if the target directory, or a path prefix thereof is owned by root.
eg: https://chromium-review.googlesource.com/#/c/404152/

We have had to go replace various uses of SafeMakedirs with the *NonRoot variant to allow fixing incorrectly root-owned paths.
eg:
https://chromium-review.googlesource.com/#/c/404153/
https://chromium-review.googlesource.com/#/c/410285/

This is a cleanup bug to audit all uses of SafeMakedirs and replace them with *NonRoot wherever the intention is to make non-root directories only.
 

Comment 1 by autumn@chromium.org, Nov 15 2016

Labels: -current-issue
Status: Archived (was: Assigned)
Bulk closing Infra>Client>ChromeOS issues untouched in over a year.

Sign in to add a comment