Message ID | 20220513134829.1895574-2-zboszor@pr.hu |
---|---|
State | New |
Headers | show |
Series | [1/2] npm.bbclass: Fix file permissions before opening it for writing | expand |
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index ba50fcac20..7f52ec6061 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass @@ -202,6 +202,7 @@ python npm_do_configure() { if has_shrinkwrap_file: _update_manifest("devDependencies") + os.chmod(cached_manifest_file, 0o666) with open(cached_manifest_file, "w") as f: json.dump(cached_manifest, f, indent=2)