权限

chown 更改权限

[root@yxlll ~]# ll -d /root/dir
drwxr-xr-x 2 root root 4096 Oct 19 14:51 /root/dir
[root@yxlll ~]# chown yxlaa1 /root/dir
[root@yxlll ~]# ll -d /root/dir
drwxr-xr-x 2 yxlaa1 root 4096 Oct 19 14:51 /root/dir
[root@yxlll ~]# chown .dba /root/dir
[root@yxlll ~]# ll -d /root/dir
drwxr-xr-x 2 yxlaa1 dba 4096 Oct 19 14:51 /root/dir
[root@yxlll ~]# chown root.root /root/dir
[root@yxlll ~]# ll -d /root/dir
drwxr-xr-x 2 root root 4096 Oct 19 14:51 /root/dir

 

上一篇:宋宝华:Linux文件读写(BIO)波澜壮阔的一生


下一篇:Alexnet网络