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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

[root@w2]# umask u=rwx,g=rwx,o=rx
[root@w2]# touch yy
[root@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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux