note marto <p>The point OP made is that perls [doc://chmod] does
not work the same as chmod on their linux system. The linux
chmod command assumes that missing digits are leading zeros,
perls [doc://chmod] does not operate in the same manner. The
docuemtnation I suggested reading (and understanding) provides
examples and an explanation that the number passed should be an
octal number. Perhaps to fully understand this I should also
have suggested that OP read <c>man chmod</c> to understand why
it works the way it does. The docs also point to portability
issues on certain platforms.</P> <p>IMHO reading the
documentation for each command provedes sufficent information to
explain why they behave differently.</P> 1005083 1005102