fixed file/dir permissions