怎么默认编辑器用管理员身份编辑文件
Tofloor
poster avatar
windrunner
deepin
2020-08-09 00:58
Author
例如我创建了一个pip.conf的文件在etc下面。这个文件用编辑器打开就是只读模式。
不熟悉vim,所以怎么可以一直设定为管理员模式打开??求大神指导。
Reply Favorite View the author
All Replies
avatar
windrunner
deepin
2020-08-09 01:09
#1
找到了,带锁的文件夹右键选择管理员身份打开,就可以编辑保存了
Reply View the author
avatar
jerry979
deepin
2020-08-09 01:26
#2
sudo dedit xxx
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 01:28
#3
这种问题,能在自己的用户文件夹范围内搞定的,就少用 root 权限去系统文件夹里搞。
https://mirrors.bfsu.edu.cn/help/pypi/
Reply View the author