[root@Tracylx test]# umask
0022
[root@Tracylx test]# touch test_file
[root@Tracylx test]# mkdir test_directory
[root@Tracylx test]# ll
total 12
drwxr-xr-x  2 root root 4096 Feb  8 08:59 test_directory
-rw-r--r--  1 root root    0 Feb  8 08:58 test_file
[root@Tracylx test]# 
---------------------------
drwxr-xr-x  目录默认权限为什么会是755
-rw-r--r--  文件的默认权限为什么会是644?
                  	
				

protoss2008 于 2009-02-08 09:11:18发表:
看懂了,哈