We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26d6ba commit 5e1b378Copy full SHA for 5e1b378
packages/angular_devkit/build_angular/src/browser/index.ts
@@ -473,6 +473,11 @@ export function buildWebpackBrowser(
473
474
for (const action of cacheActions) {
475
fs.copyFileSync(action.src, action.dest, fs.constants.COPYFILE_FICLONE);
476
+ if (process.platform !== 'win32') {
477
+ // The cache writes entries as readonly and when using copyFile the permissions will also be copied.
478
+ // See: https://github.com/npm/cacache/blob/073fbe1a9f789ba42d9a41de7b8429c93cf61579/lib/util/move-file.js#L36
479
+ fs.chmodSync(action.dest, 0o644);
480
+ }
481
}
482
483
if (processActions.length > 0) {
0 commit comments