Currently track record is stored in records.txt in individual track data directory. This only works if the user installs vdrift into his own home directory. If vdrift is installed as system-wide by root, individual users do not have the right permission to write into this file. Guess we need to change the design to store track record on a per user basis, or maybe as part of player profile.
The default settings directory name is ".vdrift" but actually this can be changed in the build (not that anyone needs to change it probably). I think they'd be best stored in /home/user/.vdrift/trackrecords/ or something like that.