chmod lock files