Missing slash in directory path for chmod