Fix symlink handling on private files and improve logging