Rights of files fix