Addendum: I guess the format should actually be %O (unsigned long)
instead of %o (unsigned int) since it's defined as an unsigned long,
though the upper bits probably won't be filled at all.
On Aug 25, 2008, at 3:03 PM, Charles E. Heizer wrote:
Hello,
I have been googaling and searching but I must be missing
something. Can
someone please tell me how to get the Octal representation from the
returned
value of [fileAttributes objectForKey:NSFilePosixPermissions].
Thanks,
- Charles
------------------------------------------------------------------------
Charles Heizer
Systems Management Solutions Group
Lawrence Livermore National Laboratory
7000 East Ave.
L-561
Livermore, CA 94550
Phone: (925)422-0197
email: email@hidden
------------------------------------------------------------------------
_______
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com