全部博文(136)
分类: LINUX
2008-12-09 21:58:56
[root@localhost yuechaotian]# pwd /home/yuechaotian [root@localhost yuechaotian]# ll 总用量 8 drwxr-xr-x 3 root root 4096 12月 7 14:52 study drwxr-xr-x 2 root root 4096 12月 9 21:43 test [root@localhost yuechaotian]# ll test 总用量 12 -rwxr-xr-x 1 root root 11742 12月 9 21:43 conf.rd |
[root@localhost yuechaotian]# chown yuechaotian:dba test [root@localhost yuechaotian]# ll 总用量 8 drwxr-xr-x 3 root root 4096 12月 7 14:52 study drwxr-xr-x 2 yuechaotian dba 4096 12月 9 21:43 test [root@localhost yuechaotian]# ll test 总用量 12 -rwxr-xr-x 1 root root 11742 12月 9 21:43 conf.rd |
[root@localhost yuechaotian]# chown root:root test [root@localhost yuechaotian]# ll 总用量 8 drwxr-xr-x 3 root root 4096 12月 7 14:52 study drwxr-xr-x 2 root root 4096 12月 9 21:43 test [root@localhost yuechaotian]# chown -R yuechaotian:dba test [root@localhost yuechaotian]# ll 总用量 8 drwxr-xr-x 3 root root 4096 12月 7 14:52 study drwxr-xr-x 2 yuechaotian dba 4096 12月 9 21:43 test [root@localhost yuechaotian]# ll test 总用量 12 -rwxr-xr-x 1 yuechaotian dba 11742 12月 9 21:43 conf.rd |