Re: POSIX
Re: POSIX
- Subject: Re: POSIX
- From: Jeff C <email@hidden>
- Date: Thu, 8 Feb 2007 21:49:54 -0500
The documentation for NSFile is not specific on this, but I would
assume that the value is similar to the st_mode flag returned by stat().
If you do a "man 2 chmod" from the terminal, you'll get the bit mask
definitions for the POSIX permissions set: read/write/execute for
owner/group/world (aka all users).
Later,
Jeff
On Feb 8, 2007, at 9:18 PM, <email@hidden>
<email@hidden> wrote:
I have been trying to interpret POSIX values returned from the
attributes obtained from NSFilePosixPermissions and cannot make
heads or tails out of the returned value.
The value returned is 420. What does this mean and how do I go
about parsing this number into the specific permissions? And
please tell me where this is documented. (I have looked).
John
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40earthlink.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >POSIX (From: <email@hidden>) |