在运行chroot comand时出错

时间:2019-03-06 10:05:23

标签: linux shell

作为root用户,请确保我的应用程序见解的权限由见解用户拥有,而不是root。

但是出现以下错误:

chroot insights:insights /home/insights/* -R    
chroot: cannot change root directory to : no such file or directory centos

1 个答案:

答案 0 :(得分:-1)

You are using the wrong command to change the ownership of the directory. Please use the chown command instead of chroot.