尽管用户存在,但无法显示

时间:2017-07-05 12:39:22

标签: linux rhel chown

我无法从UID“chown”获取用户名。

例如:

123456789 123456789 jdoe
--------------------------------------

chown jdoe:jdoe jdoe 

我明白了:

  

chown:invalid jdoe 'jdoe:jdoe'

但是'jdoe'存在。

1 个答案:

答案 0 :(得分:0)

这会将UID目录的所有者更改为jdoe

cd ~
cd ..
sudo chown -R jdoe:jdoe UID/