site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 20 Sep 2007, at 11:15, Tom O'Grady wrote: Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... you pass "0x777" for the mode_t value; this lacks the S_IWUSR bit (0000200)--perhaps you intended to use "0777" instead? A failure due to this would match the errno value (EACCES) that you >report for the subsequent O_RDWR attempt... this won't be the problem. that was just mistyping in my e-mail. in my code i definitely use 0x0777 so that user, group and other all have read, write and execute access. 0x0777 is the same as 0x777. The "777" from chmod is not hexadecimal notation (0x) but octal notation (0). So try using "0777" rather than "0x0777" or "0x777". This email sent to site_archiver@lists.apple.com