Description
After 20240403.1.0, global installs of specific versions of npm fail.
20240324.2.0 does not fail.
Platforms affected
Runner images affected
Image version and build link
20240403.1.0
https://github.com/jakebailey/hereby/actions/runs/8577653125/job/23510511696
Is it regression?
Yes, https://github.com/jakebailey/hereby/actions/runs/8563597643/job/23469083748
Expected behavior
npm install -g npm@<version> should work.
Actual behavior
npm install -g npm@<version> fails with:
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/share/man/man5
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/share/man/man5'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/local/share/man/man5'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/local/share/man/man5'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /home/runner/.npm/_logs/2024-04-07T09_43_22_503Z-debug-0.log
Error: Process completed with exit code 243.
Repro steps
Run npm install -g npm@8.19.4. That's it.
Description
After
20240403.1.0, global installs of specific versions of npm fail.20240324.2.0does not fail.Platforms affected
Runner images affected
Image version and build link
20240403.1.0https://github.com/jakebailey/hereby/actions/runs/8577653125/job/23510511696
Is it regression?
Yes, https://github.com/jakebailey/hereby/actions/runs/8563597643/job/23469083748
Expected behavior
npm install -g npm@<version>should work.Actual behavior
npm install -g npm@<version>fails with:Repro steps
Run
npm install -g npm@8.19.4. That's it.