Re: Some issues with - createDirectoryAtPath: attributes:
Re: Some issues with - createDirectoryAtPath: attributes:
- Subject: Re: Some issues with - createDirectoryAtPath: attributes:
- From: email@hidden
- Date: Mon, 1 Apr 2002 13:26:08 +0200
On lundi, avril 1, 2002, at 01:00 , Nicholas Riley wrote:
On Mon, Apr 01, 2002 at 12:29:34PM +0200, email@hidden wrote:
755 is of course S_IRWXU+S_IRGRP+S_IXGRP+S_IROTH+S_IXOTH as defined in
/usr/include/sys/stat.h .
Nope. Note that the constants in that header file are specified as
octal (0 + value). You're probably passing 755 as a decimal
constant. chmod lets you omit the 0, but if you pass anything
containing a digit above 7, it complains.
Ah... It didn't occur to me it was not a decimal value or a hexa value.
Thanks. I will revert to the constants.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.