Fixed CHMOD error