View Single Post
Old 03-28-2003, 11:59 PM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I'd assume that all servers are using strtoul(,,8) & bitwise operators to convert permissions to machine readable form;

& 0001 // Executable (other)
& 0002 // Writable
& 0004 // Readable
& 0010 // Executable (group)
& 0020
& 0040
& 0100 // Executable (user)
& 0200
& 0400

Therefore 4digit form should work as well.
darkone is offline