特殊:Badtitle/NS100:XFProt

来自Ubuntu中文
Wikibot留言 | 贡献2009年11月17日 (二) 21:21的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#ifexist: :XFProt/zh | | {{#ifexist: XFProt/zh | | {{#ifeq: {{#titleparts:XFProt|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:XFProt|1|-1|}} | zh | | }}

<<Include(Tag/NeedsExpansion)>>

  1. title F-Prot Antivirus

F-Prot for Linux is a free command line antivirus scanner. A couple of frontends have been written to go with it, providing more user-friendly GUIs (e.g. QtFProt and XFprot). F-Prot and QtFprot can be downloaded using Synaptic/Adept. XFProt can be downloaded from the developer's web site.

The Problem

We compile XFProt

 tar -zxvf xfprot-xx.tar.gz     (xx being the file version we downloaded) 
sudo ./configure 
sudo make 
sudo make install (or checkinstall) 

and then try to launch the program by typing xfprot in the command line, at which point we get the following error message:

 xfprot: starting...
xfprot: process is not dumpable
xfprot: private dir found
xfprot: good...private dir is not a link
xfprot: set_dir_properties_and_cd_in()
xfprot: setting permissions of private dir to 0700
xfprot: setting owner of private dir
xfprot: chdir to private dir
xfprot: check_for_bin()
xfprot: access(): /usr/local/f-prot/f-prot: No such file or directory
xfprot: dialog_window() 

and

 /usr/local/f-prot/f-prot
File not found!
Aborting... 

The Reason

Ubuntu installs F-Prot for Linux by default in /usr/lib/f-prot/ but XFProt looks for it in /usr/local/f-prot

The Solution

Create a symbolic link: sudo ln -s /usr/lib/f-prot/ /usr/local and try again sudo xfprot (NB Run it as superuser if you want the scan engine to have access to restricted folders during the analysis) Hope it works for you!