LinuxQuestions.org
Visit Jeremy's Blog.
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 01-08-2017, 04:06 PM   #1
tgnovice
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Rep: Reputation: Disabled
dansguardian installation


I loaded dansguardian. When I tried to open I received the below error
:Error creating cache file. Do you have write access to this area: "/etc/dansguardian/lists/blacklists/ads/domains.processed"?

Any assistance would be greatly appreceiated
 
Old 01-08-2017, 04:57 PM   #2
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Have you checked the permissions? It is saying you don't have write permission to write that file. Did you install as a normal user or as root? I would guess you installed as root and are trying to run as a normal user.
 
1 members found this post helpful.
Old 01-09-2017, 06:02 PM   #3
tgnovice
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
You are correct, I installed as a root, and then back to sudo user. With that said would I be able to log in as a root user and then it should open?
I guess I can answer my own question, but please correct me if I am wrong, This would just allow me to write to the file, probably this is just the first of many errors to be resolved.
I hope I am wrong.
 
Old 01-09-2017, 06:47 PM   #4
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
I don't know, but that is my thinking. Rather than hunting around in the dark, why don't you just check the permissions?
Code:
ln -l /etc/dansguardian/lists/blacklists/ads/domains.processed
 
Old 01-09-2017, 07:47 PM   #5
tgnovice
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you,
Error does not come up when logging in as as su. Can I add my sudo log in to the permissions?
 
Old 01-09-2017, 08:37 PM   #6
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Obviously the program must be run as root. Sudo is not a login. Sudo allows you to run a single command as if you were root. So, if you run the program with 'sudo program.name' then the program gives you root powers for it while it runs. It sounds very much to me that you need to learn more about Linux permissions. They are not complicated and learning them now will help you with all sorts of problems in the future and will let you avoid problems/questions like this. You might try https://www.linux.com/learn/understa...le-permissions for an explanation. Moving on without reviewing will cause you to have the same problems over and over and may lead you to make mistakes which could prove disastrous. The permission system is one of Linux's major security features.
 
1 members found this post helpful.
Old 01-10-2017, 05:36 AM   #7
tgnovice
LQ Newbie
 
Registered: Jan 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, for your assistance and I will
follow your advise on that. I'm thinking I better get a somewhat more comprehensive overview of the system and relative functions for my intended purposes.
 
  


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
centos 5.5 dansguardian installation struggled_newbie Linux - Newbie 10 06-01-2010 05:03 AM
Dansguardian ciphyre Linux - Server 4 06-08-2009 09:45 AM
Dansguardian Thakowbbery Linux - Networking 0 11-09-2006 11:32 AM
Dansguardian jomy Linux - Networking 2 11-27-2005 09:56 AM
Dansguardian installation and configurations myohtutoo Linux - Software 0 03-31-2004 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

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
Open Source Consulting | Domain Registration