要求root在/tmp目录下创建/tmp/aa/bb这个目录,要求在这个bb目录下创建如下图所示的东东,要求(权限、属主属组、名称)完全一致。
[root@localhost ~]# cd /tmp
[root@localhost tmp]# mkdir -p /tmp/aa/bb
[root@localhost bb]# ls -a
. ..
[root@localhost bb]# mkdir '*_*' '<haha>'
[root@localhost bb]# touch 'haha xixi' '.hello'
[root@localhost bb]# chmod 700 '*_*'
[root@localhost bb]# chmod 555 '<haha>'
[root@localhost bb]# chmod 530 'haha xixi'
[root@localhost bb]# chmod 225 '.hello'
[root@localhost bb]# chown root:hello '*_*'
[root@localhost bb]# chown xixi:xixi '<haha>'
[root@localhost bb]# chown xixi:haha 'haha xixi'
[root@localhost bb]# chown root:hello '.hello'
[root@local