why umask can't set "x" in file creation

jim martin postfix168 at yahoo.com
Wed Jun 22 18:43:50 UTC 2005


Hi.. why my umask setting can't get the "x" in the file created permission 

[root at w2]# umask 0022
[root at w2]# touch xxx
[root at w2]# ls -l
total 20
-rw-r--r--  1 root root    0 Jun 23 02:32 xxx

[root at w2]# umask u=rwx,g=rwx,o=rx
[root at w2]# touch yy
[root at w2 ]# ls -l
total 24
-rw-r--r--  1 root root    0 Jun 23 02:32 xxx
-rw-rw-r--  1 root root    0 Jun 23 02:34 yy


		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com




More information about the fedora-list mailing list