Hallo,
softlink doesn’t work because the scanner expects a real file and does not follow links. There is a message that the definition is >corrupted and the definition from the App-directory is copied.
Even if I softlink the whole directory, it doesn’t work.
that’s really strange, because it works for me with no problem (and especially, the possibility of vps soft-linking was checked, in the daemon). the 400.vps file could be a link, and even soft-one, of course. you can try ls -i, and you will see, that the “copied” 400.vps, mentioned in your latest post, was also a hard-link (the same inode numbers).
The best way would be, that the user could define the directory for the Definition. Even if Unix is a Multiuser Environment, the Admin >could make a directory with full access for all users. But when there will be a incremental update there would be no need anymore.
you can make links to “central” 400.vps from the directories of each user. But, then, it would be good to run the daemon with -a switch, when the daemon automatically watches the relevant 400.vps file, and reloads the definitions when the file changes.
gui will attach to any running daemon, what it needs is the response from the socket (sockets responds with initial message → use it and don’t start own daemon instance). thus, runing daemon or more daemons in advance with “-a” and updating the central 400.vps only is possible.
btw. anyway, the easiest thing is to redirect requests to http://files.avast.com/files/latest/mac to some local mirror, nad there are only 3 relevant files:
400.vps (main database, >18MB)
400vps.md5 (small file with md5 stamp)
release.inf (version info)
Thus, simple DNAT and local mirror does the thing as well.
regards,
pc