小编use*_*247的帖子

Ubuntu中命令“ls -la”输出中的问号

当我写ls -lao 命令行时,我得到这个输出:

ls -la /var/log/nginx

d????????? ? ? ? ?            ? .
d????????? ? ? ? ?            ? ..
-????????? ? ? ? ?            ? access.log
Run Code Online (Sandbox Code Playgroud)

对于此文件夹中的所有文件。

当我为另一个文件夹执行此操作时:

ls -la /var/log/nginx_back/

drwxr-xr-x  2 root root       4096 ??? 25 11:06 .
drwxrwxr-x 15 root ssh        4096 ???  1 00:29 ..    
-rw-r--r--  1 root root  220793880 ??? 25 11:04 access.log-20170401.gz
Run Code Online (Sandbox Code Playgroud)

一切都好。

对上述目录的权限:

drw-r--r--  2 nginx     adm        69632 ???  1 00:29 nginx    
drwxr-xr-x  2 root      root        4096 ??? 25 11:06 …
Run Code Online (Sandbox Code Playgroud)

linux permissions logging ls nginx

6
推荐指数
1
解决办法
6495
查看次数

标签 统计

linux ×1

logging ×1

ls ×1

nginx ×1

permissions ×1