Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Does anyone know why I cant seem to create a dot file (a file that starts with a dot) in my /tmp folder even with root priviledges.
I installed F-Prot for linux & when I try to do a scan it complains it "can't stat a file" it seems to want to create & quits.
So I tried creating it my self but it wont create a file that starts with a dot it seems.
I also tried "chmod go+rx /tmp/*"
You're not failing to create a file, you're failing to stat it, which means you're checking file status. I see you're submitting the command as root... but is it actually running as root?
Check to see if there's a configuration parameter in f-prot.conf that gives a run-as userid. Typically, it's a bad idea to run an AV solution as root, and they'll create another userid at install time, but I'm not directly familiar with F-Prot.
Nex, look at the permissions for the directories / and /tmp. Whatever userid you're running under, it has to have execute privilege to both of those directories in order to run stat. It doesn't need file privileges, but it needs execute to every step in the path. Typically, /tmp should have its permissions set to global r-w-x.
Optionally, you might also find a config parameter in f-prot.conf to set the temporary directory, and you could point it somewhere else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.