我已运行命令并更改了目录的组和所有者,但它仍然显示在 root 用户和组下:
[xev@php56 datax]$ ll
total 25324
-rwxrwxrwx 1 root root 1426 Mar 15 14:15 nxew.sql
drwxrwxrwx 1 root root 4096 Feb 27 16:51 older
[xev@php56 datax]$ sudo chown -R xev:xev older
[sudo] password for xev:
[xev@php56 datax]$ ll
total 25324
-rwxrwxrwx 1 root root 1426 Mar 15 14:15 nxew.sql
drwxrwxrwx 1 root root 4096 Feb 27 16:51 older