当 cd 进入我的一个名为 openfire 的目录时,会返回以下错误:
cd
openfire
bash: cd: openfire: Permission denied
有没有办法解决这个问题?
最佳答案
@user812954 的回答很有帮助,但我必须分两步完成:
sudo su cd directory
然后,要退出“ super 用户”模式,只需键入 exit。
exit
https://stackoverflow.com/questions/8221820/
相关文章:
python - 如何将 SqlAlchemy 结果序列化为 JSON?
python - 导入错误 : No module named PIL
linux - tcpdump:本地主机到本地主机
python - 为什么 Python 中的 @foo.setter 对我不起作用?
http - Wget 将文档和标题输出到 STDOUT
python - 检测和排除 pandas DataFrame 中的异常值
linux - 如何删除 "Argument list too long"时超过 3 天的所有文件?
linux - 如何计算包括子目录在内的代码行数
linux - 带有 -i 选项的 sed 命令(就地编辑)在 Ubuntu 上运行良好,但在 Ma
python - 你如何在已经创建的 virtualenv 中设置你的 pythonpath?