Fixing files rights