The solution is to create a soft link to the real directory
For example:
here, take creating/data in the root directory as an example, and other directory names are the same
First, create a data directory anywhere you want, such as/users/baixxhao/downloads/work/data. Don’t imitate me directly. Remember to change the user name.
2. Open the terminal (Command + space, then enter the terminal, enter)
2. Input sudo VIM/etc/synthetic.conf from the command line, Enter, enter a similar text editing page, do not close the window!!! Press the letter I, pay attention to the use of English characters throughout the operation, do not use pinyin input method (including all the following, are in English)
3, enter the following line (note that the middle is tab, not spaces)!!! Pay attention to the following parameters, use your own real directory
data /Users/baixxhao/Downloads/work/data
4. Press ESC, press the English colon (Shift + colon), enter WQ, press return, that is, save and exit
5. Then restart, and you will find that/data has
6. If it is successful, like it?
look here mark>
1. MKDIR/users/baixxhao/downloads/work/data
2. Sudo VIM/etc/synthetic. Conf
3
data /Users/baixxhao/Downloads/work/data
4. Restart
5
Read More:
- Insufficient space in the root directory causes the state of the managed server to become FAILED_NOT_RESTARTABLE
- Remove M Characters “Control M” or “^M” or “CTRL M” Characters in a UNIX file
- 2019.11.14 Mac uses brew to report an error: parent directory is world writable but not sticky
- Solution to flash back of MacBook Pro open software of M1 chip
- Change the path in the user directory in Chinese Ubuntu to English
- Solution to “550 create directory operation failed” in FTP operation file
- Solving the problem of can’t create temporary directory of CVS under Windows
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- When the MAC M1 uiautomatorviewer is opened, it displays blank or reports an error
- “Not a valid NDK directory” appears when eclipse ADT selects the NDK directory
- Error in publishing project with Maven in idea. Git directory is not found! Please specify a valid
- When installing pyaudio, an error is reported: failed error: portaudio. H: there is no such file or directory
- Linuxunexpected error reading Dockerfile: is a directory–2021-08-25
- No such file or directory error when redis is started under Windows
- [building the flutter environment] error: the flutter directory is not a clone of the GitHub project
- Solve the problem that M1 Mac can’t debug when using GoLand
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- Perl application – delete “. SVN” folder in current directory and subdirectory
- gradle sync failed CreateProcess error=267 directory is invalid
- ginx-1.10.0\index/**“ failed (123: The filename, directory name, orvolume label syntax is incorrect)