fix file system permissions