Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"?
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.