/var/log/btmp The file is not a regular file or is not a text file.

Asked by Vincent on 2009-07-24

The file is not a regular file or is not a text file. What does this mean? Is it a virus?or bug ?
I have seen others with same problem but no answers
Also can the tmp folder be deleted and why do i not have permissions to look at some files
Thank you for your time as you can tell i am new to this.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Larry Jordan
Last query:
Last reply:
Larry Jordan (larryjor) said : #1

     Most of the temp files in areas outside of your home directory are for the system; they are deleted when the system is done with them if all goes well. You can delete obnoxious temp files, I believe, if you do it using 'sudo'. However, I have a file at /var/log/btmp and am not having problems. Using the 'file' command (file /var/log/btmp) I find it is data. Can't tell you what it is from or what writes to it, but you're more likely to break something on your system by deleting it than fix anything.

Vincent (vincentprice555) said : #2

Thank you for your help its the system log viewer its got a red mark and the /var/log/btmp he file is not a regular file or is not a text file.all across the top of it.
Thank you

Vincent (vincentprice555) said : #3

/home/new5/Desktop/Screenshot.png This is a screen shot,I am using ubuntu 9.04
Many Thanks

Best Larry Jordan (larryjor) said : #4

     So does this solve the problem for you? Or do you have more questions?

Vincent (vincentprice555) said : #5

Thanks Larry Jordan, that solved my question.

Sam_ (and-sam) said : #6

lastb /var/log/btmp
##see manpage
man last

Simple search reference:

http://<email address hidden>/msg02141.html