action: chmod: fix mode setting if octal value specified for mode

The set code incorrectly did (st_mode & ~S_IFMT) | mode, which is the
exact inverse of what it should have been, i.e.  (st_mode & S_IFMT) | mode

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
1 file changed