Linked by Thom Holwerda on Fri 3rd Feb 2006 22:41 UTC
Permalink for comment 92822
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/25/13 0:45 UTC
Linked by Thom Holwerda on 05/24/13 23:59 UTC
Linked by Thom Holwerda on 05/24/13 22:33 UTC
Linked by Howard Fosdick on 05/24/13 21:41 UTC
Linked by Thom Holwerda on 05/24/13 14:44 UTC
Linked by Thom Holwerda on 05/23/13 23:22 UTC
Linked by Thom Holwerda on 05/23/13 22:04 UTC
Linked by Thom Holwerda on 05/23/13 22:01 UTC
Linked by Thom Holwerda on 05/23/13 17:52 UTC
Linked by Thom Holwerda on 05/22/13 22:23 UTC
More News »
Sponsored Links



Member since:
2005-07-07
Me thinks you're a bit off here. With an umask of 022 and a creation mode of 0777 the resulting permissions would be 0755, which is -rwxr-xr-x.
Yeah my bad
reading the man page it says
"The umask is used by open(2) to set initial file permissions on a newly-
created file. Specifically, permissions in the umask are turned off from
the mode argument to open(2) (so, for example, the common umask default
value of 022 results in new files being created with permissions 0666 &
~022 = 0644 = rw-r--r-- in the usual case where the mode is specified as
0666)."
I don't know where the mode is specified.