The Unix file resolution code ( 777 , for example) is octal, not decimal. Like in: when you do something like chmod -R 777 , the numbers are interpreted as octal input instead of decimal input.
This system is based on the fact that there are 3 permission groups:
and each group has an on / off bit for:
therefore, the octal base is sufficient to represent all possible permissions configurations for the group. Every 3 octal digits correspond to a permission group.
(For further reading: http://www.december.com/unix/ref/chmod.html )
Let's 0o1407 back to your caller ID problem: the octal representation of the decimal integer is 775 0o1407 , my suspicion is that the decimal 775 is actually sent instead of the octal 775, and FileZilla may very well trim the material to the left of the 3rd least significant digit 0o1407 (because for it it was not unreasonable to assume that nothing happened in the 3rd least significant bit)
Now 509 is a decimal representation of the octal 775 , try using this instead of AKX.
source share