Files
linux-wiki/content/deepin折腾笔记/第五章/5.2.md
2021-10-21 14:57:58 +08:00

7 lines
378 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 5.2 主目录被误删除的恢复方法
例如用户名是user主目录/home/user如果不小心把/home/user删除了就会导致无法进入DDE桌面但可以进shell。
Ctrl+Alt+F2进入tty2并登陆后重新创建主目录并设置为当前用户所有
sudo mkdir /home/user
sudo chown user:user /home/user
reboot重启。