How to Enable Write Access on Root Volume on macOS Big Sur and Later

adiparmar

New member
Joined
Jan 30, 2022
Messages
6
Motherboard
Macbook m1
CPU
Apple M1
Graphics
none
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Air
Mobile Phone
  1. Android
Is there any way we can undo all these process..or delete this livemount and keep our root volume same safe un writabe as it was before??
I've followed all the steps mentioned by elitemacx86 and now i can't downlard react js library files.


This is the output i'm getting
adi@Mac ~ % npm install -g create-react-app
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/create-react-app
npm ERR! dest /usr/local/lib/node_modules/.create-react-app-DgI96EzL
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/create-react-app' -> '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'
npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/create-react-app' -> '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/local/lib/node_modules/create-react-app',
npm ERR! dest: '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'
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:
npm ERR! /Users/adi/.npm/_logs/2022-02-03T18_31_58_306Z-debug.log
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
3,416
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
I've followed all the steps mentioned by elitemacx86 and now i can't downlard react js library files.


This is the output i'm getting
adi@Mac ~ % npm install -g create-react-app
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /usr/local/lib/node_modules/create-react-app
npm ERR! dest /usr/local/lib/node_modules/.create-react-app-DgI96EzL
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/create-react-app' -> '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'
npm ERR! [Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/create-react-app' -> '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/usr/local/lib/node_modules/create-react-app',
npm ERR! dest: '/usr/local/lib/node_modules/.create-react-app-DgI96EzL'
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:
npm ERR! /Users/adi/.npm/_logs/2022-02-03T18_31_58_306Z-debug.log
There is a permission issue. Use sudo.
 

adiparmar

New member
Joined
Jan 30, 2022
Messages
6
Motherboard
Macbook m1
CPU
Apple M1
Graphics
none
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Air
Mobile Phone
  1. Android
There is a permission issue. Use sudo.
Still not working . This is my output:

adi@Mac ~ % sudo npm install -g create-react-app
Password:
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

changed 67 packages, and audited 68 packages in 3s

4 packages are looking for funding
run `npm fund` for details

2 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
3,416
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Still not working . This is my output:

adi@Mac ~ % sudo npm install -g create-react-app
Password:
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

changed 67 packages, and audited 68 packages in 3s

4 packages are looking for funding
run `npm fund` for details

2 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
Are you trying to install React Js on your system?
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
3,416
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

adiparmar

New member
Joined
Jan 30, 2022
Messages
6
Motherboard
Macbook m1
CPU
Apple M1
Graphics
none
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Air
Mobile Phone
  1. Android
And how does this guide relate to that?
i have performed this steps given in your guide and i think because of that now terminal showing me this error that i don't have permission ...so if there is any way to undo these steps or anything else ....
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
3,416
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
i have performed this steps given in your guide and i think because of that now terminal showing me this error that i don't have permission ...so if there is any way to undo these steps or anything else ....
If you need to install React, that shouldn't require this guide at all. The question is, what was the need to follow this guide?
 

adiparmar

New member
Joined
Jan 30, 2022
Messages
6
Motherboard
Macbook m1
CPU
Apple M1
Graphics
none
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Air
Mobile Phone
  1. Android
If you need to install React, that shouldn't require this guide at all. The question is, what was the need to follow this guide?
I wanted to download mongo db (it is a database system). For which i had to download binary file and put it in system files. for that i had enable write access to root volume . (sorry for my english , it is little weak )
 
Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
3,416
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
I wanted to download mongo db (it is a database system). For which i had to download binary file and put it in system files. for that i had enable write access to root volume . (sorry for my english , it is little weak )
Okay and now you have a problem with installing React? Follow React documentation for installing. Make sure you're using an administrator account.
 

Forum statistics

Threads
673
Messages
7,040
Members
5,889
Latest member
haggar12