| Index: chrome/installer/gcapi_mac/gcapi.mm
|
| diff --git a/chrome/installer/gcapi_mac/gcapi.mm b/chrome/installer/gcapi_mac/gcapi.mm
|
| index bb562899f888d0e3a67d4c5e85c32adb483a76ad..773944964be295f517eedb31d07f977f06199431 100644
|
| --- a/chrome/installer/gcapi_mac/gcapi.mm
|
| +++ b/chrome/installer/gcapi_mac/gcapi.mm
|
| @@ -159,7 +159,7 @@ NSString* WriteData(NSData* data, NSString* system_path, NSString* user_path) {
|
| // setuid root, and in that case the kSystemBrandPath path above should have
|
| // worked anyway. So only try user if geteuid() isn't root.
|
| if (geteuid() != 0) {
|
| - NSString* user_path = [user_path stringByExpandingTildeInPath];
|
| + user_path = [user_path stringByExpandingTildeInPath];
|
| if (CreatePathToFile(user_path) &&
|
| [data writeToFile:user_path atomically:YES]) {
|
| chmod([user_path fileSystemRepresentation], Permissions() & ~0111);
|
|
|