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: jms1 on Oct 09, '05 02:29:46AM

The chmod(1) and chmod(2) man pages don't document these "file type" bits because the chmod() function cannot change them. The stat(2) man page DOES document these values- type "man 2 stat" for a better explanation.

Side note- the value you're looking at is the "st_mode" value, which is defined as 16 bits (rather than 18 bits.) The highest possible value is 0177777 (which is 0xFFFF in hex, or 65535 decimal.)

[ Reply to This | # ]