• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Some issues with - createDirectoryAtPath: attributes:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Some issues with - createDirectoryAtPath: attributes: (From: Nicholas Riley <email@hidden>)

  • Prev by Date: Re: Some issues with - createDirectoryAtPath: attributes:
  • Next by Date: collapsible item and table info
  • Previous by thread: Re: Some issues with - createDirectoryAtPath: attributes:
  • Next by thread: collapsible item and table info
  • Index(es):
    • Date
    • Thread