LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2004, 06:57 AM   #1
Redfiveuk
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9 with all updates
Posts: 13

Rep: Reputation: 0
Cannot Install Bitdefender Permission Denied


Hi All,
I have downloaded the free Linux version of Bitdefender AV and was following the instructions for installtion. I started a KDE Konsole Super User command line window cd to my downloaded file location and followed the install instruction but I keep getting a Permission Denied error. I have logged on as root and used my root password but I am getting the following errors:

[root@felix felix]# cd downloads
[root@felix downloads]# ./BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run
bash: ./BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run: Permission denied
[root@felix downloads]#

What am I doing wrong ? Anyhelp gratefully received.

Regards
Redfive
 
Old 04-14-2004, 07:04 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Sometimes when you DL files like this, they come with the permissions set up funny, like 600 for instance. As root, do:

chmod 777 BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run

and then

./BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run

and you'll be good to go.

Good luck!
 
Old 04-14-2004, 07:24 AM   #3
Redfiveuk
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9 with all updates
Posts: 13

Original Poster
Rep: Reputation: 0
Thx thyat worked but I am stuck again DOH

Many thx for your prompt response.
Using your instructions I have installed the package, it appears to be installed but I cannot see any icons for it, I was guessing I would have to update it to the latest AV patch. Here is a copy of my console output:

Please enter "accept" if you agree to the License Agreement.
Enter anything else if you don't agree to the terms in the License Agreement.
The installation process will stop.

accept

Please enter installation directory [ default = /opt ]:

Created directory /var/bdc/infected...
Created directory /var/bdc/suspected...

Created symlink for /opt/bdc/bdc
in /usr/bin

Thank you for installing BitDefender for Linux console Free Edition
in the following path: /opt/bdc
Your quarantine directory is /var/bdc
Please see README and FAQ files before reporting any problems to:

support@bitdefender.com

If you will ever plan to uninstall this product, please take a look
at bdc-uninstall file located in /opt/bdc directory
[root@felix downloads]#


I am a windows dude and am stumbling my way through Linux, I am a bit surprised you dont seem to get any instll instructions with this app although maybe I am just making a total newb mistake. What do I need to do next to check if this app is installed and how do I run it?

Regards
Redfiveuk
 
Old 04-14-2004, 10:41 AM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
No prob, I had the same questions when I first installed bdc.

To scan something, you type:

bdc (path) (parameters)

To make this more clear, type:

bdc --help

at the command line. Essentially (and I agree this is anoying coming from windows) there are no program icons from which to run this, and it does not (as far as I can tell) give you "real-time" protection like Norton etc...

You just have to manually scan once and awhile. I used cron to schedule an automatic scan every morning at 3, but I dont really think this is neccessary. Linux simply doesn't have that many viruses out there, and there just isn't the risk of getting infected while surfing the web or opening email.

But, here is the command to scan EVERYTHING on your hard drive, which you can also load into your crontab to execute automatically:

bdc / --all

That will take awhile, FYI.

If you really want to stick this in cron to be automatic, let me know and I'll try to walk you thorugh it. Or, if you're feeling plucky, you can do a

man cron

and read the man file to learn more about cron.

Good luck!
 
Old 04-14-2004, 11:20 AM   #5
Redfiveuk
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9 with all updates
Posts: 13

Original Poster
Rep: Reputation: 0
Man cron eh

Thx once more Jef, your help has been of great value. I was kinda expecting the Norton Av realtime protection type of thing but I guess that is not needed as you pointed out. I will venture down the road of a once weekly scan, so any info you can give me on this would be great.
Man if you where in the UK I would meet you down the pub and get you a couple of beers in to show my gratitude.

I will read up about cron and delve into bdc --help, that is just what i was looking for but did not know where to start.

All the best
Redfiveuk

Last edited by Redfiveuk; 04-14-2004 at 11:34 AM.
 
Old 04-14-2004, 11:37 AM   #6
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Okay, here we go...

First, make a file in your home directory called, for instance, mycron. Here is what MY mycron looks like...make yours the same...

-------------------------------------------------------------------
#minutes hours(24) dayofmonth month dayofweek
00 03 * * * bdc --update
10 03 * * 3 bdc / --all
-------------------------------------------------------------------

Now, as you'll see by the second line, the first line will execute at 03:00am every day of every week of every month. The third line will execute at 03:10am on the THIRD day of every week of every month ( I forget if the 3rd day is tues or weds, but you could do a "man cron" to find out). So, for you to make yours weekly, you can keep it just like this.

Dont have the --------------------------- in there, that's just for ease of viewing in this thread.

Now, from the command prompt, su into root. Once you're root, type:

crontab -u (username) mycron

Make sure you're in YOUR home directory when you do this, or it wont find the mycron file. If all went well, it should just return to the command prompt almost immediately. You can confirm what;s in your crontab file with the following:

as root:
crontab -u (username) -l

This will list the contents of the users crontab. If all went well, you'll see the stuff you just put in mycron.

If I were in the UK, I would most certainly take you up on that drink!

Good luck!
 
Old 04-15-2004, 10:14 AM   #7
Redfiveuk
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9 with all updates
Posts: 13

Original Poster
Rep: Reputation: 0
All done - jobs a good un.

Using your excelent instructions I have set up and activated the mycron.txt file, I also added the the line mailto='myemail@mydomain' and hopefuly I will get email confirmation when this action is complete. Below was a useful url on the mailto option:

http://support.securesites.com/suppo.../unix/cron.cfm

My mycron file looks like this:

#minutes hours(24) dayofmonth month dayofweek
#update av engine for latest viruses @ 10pm on day 1 of weekly schedule
00 22 * * 1 bdc --update

#scan all files @ 11pm on day 1 of weekly schedule
00 23 * * 1 bdc / --all

#setting email address for notification of scan and update
MAILTO="me@mycompany.com"


A final thx to jef for all your invaluable help, your a top bloke.

Regards
Redfive
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permission denied, install postfix aw_wolfe Linux - Newbie 7 07-13-2011 08:27 AM
Permission denied on client when running install script residing on NFS server dstotz Linux - Newbie 2 12-11-2004 03:10 PM
Selinux, ./INSTALL: /bin/sh: bad interpreter: Permission denied TomF Linux - Security 2 12-08-2004 12:36 PM
ATI driver install (9700, permission denied) Jason711 Linux - Hardware 3 03-17-2004 04:48 PM
GD 2.0.15 install, permission denied enzo250gto Linux - Software 2 11-19-2003 09:04 AM


All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration