Could not chdir to home directory /app/fileserver: Permission denied的解决方法
Posted 秋9
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not chdir to home directory /app/fileserver: Permission denied的解决方法相关的知识,希望对你有一定的参考价值。
【现象】
Last failed login: Fri Mar 25 14:52:29 CST 2022 from 118.194.243.53 on ssh:notty
There were 7 failed login attempts since the last successful login.
Could not chdir to home directory /app/fileserver: Permission denied
-bash: /app/fileserver/.bash_profile: Permission denied
[fileserver@instance-6es4pt95 /]$
【解决方法】
使用root账号,登录后,执行如下脚本
chown -R fileserver:fileserver /app/fileserver
以上是关于Could not chdir to home directory /app/fileserver: Permission denied的解决方法的主要内容,如果未能解决你的问题,请参考以下文章
could not connect to server: Connection refused (0x0000274D/10061)
yii框架:CDbConnection failed to open the DB connection: could not find driver的解决的方法
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Look
Could not create local repository at D:maven-repository -> [Help 1][ERROR][ERROR] To see the ful
E: Could not get lock /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/d
E: Could not get lock /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/d