file permissions fixed for rt