New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以nobody 用户启动时 user.home目录为/的情况启动失败 #572
Comments
查了一些资料,的确 nobody 用户的 |
@chenshun00 使用 |
@hengyunabc 最新版本吗,等我测试一下 |
@chenshun00 3.1.0 版本就有 |
@hengyunabc 还是不行,依赖了core
|
在ubuntu下面测试了下,打印结果是: public class AAA {
public static void main(String[] args) {
System.out.println(System.getProperty("user.home"));
System.out.println(System.getProperty("user.name"));
System.out.println(System.getProperty("user.dir"));
}
}
|
这里有两个问题:
目前下载完整的zip包,启动
但是实际上 |
nobody用户启动的进程里,打印 |
测试zip包: |
环境信息
arthas-boot.jar
或者as.sh
的版本: 3.1.0arthas-boot
的版本: 1.7选择18
18 [ERROR] cannot create directory /.arthas/lib: maybe permission denied [nobody@aliyun-app-168-151 logs]$
直接去根目录
/
了,肯定没有权限。询问arthas commit,是使用user.home 创建的文件夹,加上-Duser.home=/home/xxxxx
启动成功.查看真实的
user.home
The text was updated successfully, but these errors were encountered: