致访客
感谢各位一年多的陪伴,因内容调整,本站将于近日迁移到新域名并不再更新主要内容。

MENU

Re: No permissions for root directory after MAC update Catalina

• February 10, 2022 • π

致访客
感谢各位一年多的陪伴,因内容调整,本站将于近日迁移到新域名并不再更新主要内容。
特此通知。

Extra! Extra! Extra!

The MAC can update Catalina. After the update, the cloud security requirements are higher. It's really fragrant!

But for Cheng Yuan, WC, why don't I have permission to write it?

For this problem, I really, exhausted all kinds of ways. Now I will share my solution for the little brothers and sisters who are not easy like me. . .

Dry dry goods:

## Step 1: An explanation. The best way to understand why you're doing this is to look at it

man synthetic.conf


## Step 2:

sudo vim /etc/synthetic.conf

## Step 3: Press I to enter the edit mode and enter the downlink text

data /System/Volumes/Data/data

## Note the TAB key between data and /System

## You need to add/at the end



## Step 4: Go to /System/Volumes/Data and create folder Data

cd /System/Volumes/Data

sudo mkdir data

## Step 5: Set permissions for data. I gave the highest permissions

sudo chmod -R 777 data

## step 6:
## Reboot and everyone is happy

## After rebooting, enter the root directory and you can see the lovely and charming data directory exists!