Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A bit more detail on 'Special Permissions' in Disk Utility' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A bit more detail on 'Special Permissions' in Disk Utility
Authored by: Durandal on Sep 22, '05 10:58:39AM
It's no surprise that Apple store the decimal representation of chmod permissions. NSNumber doesn't support reading in any base but 10. The framework probably has an internal function to convert the decimal into hex.

---
Damien Sorresso

[ Reply to This | # ]

A bit more detail on 'Special Permissions' in Disk Utility
Authored by: exel on Sep 22, '05 02:02:50PM

There is no need to 'convert' it to hex. The decimal string is just parsed as an integer and that's what is used by the chmod() kernel call.



[ Reply to This | # ]