Permission denied bash-4.2$
时间: 2023-10-21 09:26:29 浏览: 124
当您在使用root用户切换到hdfs用户时,出现了"Permission denied -bash-4.2$"的错误提示。这个错误提示意味着您没有足够的权限来执行该操作。根据引用和引用中提到的内容,可能是由于您对目录/var/lib/hadoop-hdfs下的文件(比如.bash_profile和.bash_logout)没有足够的访问权限导致的。这些文件对于hdfs用户可能具有限制访问权限。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Linux下普通用户登录时出现 -bash-4.2$](https://blog.csdn.net/weixin_36815898/article/details/114665217)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [centos7 root用户切换普通用户出现-bash-4.2$](https://blog.csdn.net/Vector97/article/details/92794289)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文