LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Problem Directory named "file:"keeps showing up. (https://www.linuxquestions.org/questions/linux-desktop-74/problem-directory-named-file-keeps-showing-up-4175684845/)

kevinbenko 11-07-2020 03:39 AM

Problem Directory named "file:"keeps showing up.
 
I may have mentioned this earlier I cannot find the thread.

Using Debian Testing with some unstable packages, of course

It happens EVERY TIME I login to a different windowing manager: XFCE, XFCE, Plasma, Fluxbox, and probably others.

The structure of the directory is that of a mail directory:

===
./file:
/home
kevin/
.local/
share/
local-mail/
cur/
new/
tmp/

===

I have deleted kmail, and installed thunderbird... no change.

So what the {bad-word} is going on with my system?
It doesn't break anything, but this has been {upsetting} me for several months.

Has this happened to anyone else?
Does anyone have any suggestions to help me fix this?

Thank you for your time, and have a good day!

scasey 11-07-2020 03:46 AM

What command are you issuing to get that listing?
(Please use code that’s to post output....see the link in my signature)

ondoho 11-07-2020 05:45 AM

Quote:

Originally Posted by kevinbenko (Post 6182756)
The structure of the directory is that of a mail directory:

===
./file:
/home
kevin/
.local/
share/
local-mail/
cur/
new/
tmp/

===

What is this? What are you showing us there?
I'd prefer
Code:

ls -al file\:
If you want to know what generates it, you have to dig deeper. Look at some files inside etc.

kevinbenko 11-07-2020 07:41 PM

OK, I did ls -alR file\:/

{the listing is kind-of long... sorry}

Output is

// BEGIN

kevin@kevhome:~$ ls -alR file\:/
'file:/':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 92 kevin kevin 4096 Nov 7 19:37 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 home

'file:/home':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 kevin

'file:/home/kevin':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .local

'file:/home/kevin/.local':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 share

'file:/home/kevin/.local/share':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 local-mail

'file:/home/kevin/.local/share/local-mail':
total 20
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 cur
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 new
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 tmp

'file:/home/kevin/.local/share/local-mail/cur':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..

'file:/home/kevin/.local/share/local-mail/new':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..

'file:/home/kevin/.local/share/local-mail/tmp':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..
kevin@kevhome:~$

// END

HOWZAT???

kevinbenko 11-07-2020 07:43 PM

Also, I did a quick logout and login and the evil directory was there.....

ondoho 11-08-2020 05:23 AM

Please wrap your command output in CODE tags...

MadeInGermany 11-08-2020 06:14 AM

I think the file: prefix is too much.

Please give output of the following commands
Code:

env | grep file:
echo $HOME
getent passwd $USER


ondoho 11-08-2020 06:45 AM

Quote:

Originally Posted by ondoho (Post 6182797)
If you want to know what generates it, you have to dig deeper. Look at some files inside etc.

Funny how people always read only half of my posts.

kevinbenko 11-09-2020 08:42 PM

Code:

kevin@kevhome:~$ ls -alR file\:/
'file:/':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 92 kevin kevin 4096 Nov 7 19:37 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 home

'file:/home':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 kevin

'file:/home/kevin':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .local

'file:/home/kevin/.local':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 share

'file:/home/kevin/.local/share':
total 12
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 local-mail

'file:/home/kevin/.local/share/local-mail':
total 20
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 3 kevin kevin 4096 Nov 7 19:31 ..
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 cur
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 new
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 tmp

'file:/home/kevin/.local/share/local-mail/cur':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..

'file:/home/kevin/.local/share/local-mail/new':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..

'file:/home/kevin/.local/share/local-mail/tmp':
total 8
drwxr-xr-x 2 kevin kevin 4096 Nov 7 19:31 .
drwxr-xr-x 5 kevin kevin 4096 Nov 7 19:31 ..
kevin@kevhome:~$


kevinbenko 11-09-2020 08:45 PM

To MadeInGermany:

kevin@kevhome:~$ env | grep file\:/
kevin@kevhome:~$ echo $HOME
/home/kevin
kevin@kevhome:~$ getent passwd $USER
kevin:x:1000:1000:Kevin Benko,,,:/home/kevin:/bin/bash
kevin@kevhome:~$



Howzat?

kevinbenko 11-09-2020 08:50 PM

Yes, I know it is part of a email program that is causing my problems. I once used Kmail, but now I use Thunderbird.

Could my problem a remnant of Kmail?

I have been beating my head against my keyboard (figuratively) for many months.

Yeah.... I could have the system automatically delete THAT directory via a crontab entry, but that does not really fix the problem.....

Hey, all, that you all for continually trying to help me.

frankbell 11-09-2020 09:05 PM

./file is a very strange path in a Linux system.

Have you tried any of these commands?

[CODE]ls ./file
rm -r ./file
rm -r .file[
/CODE]

ondoho 11-10-2020 01:32 AM

I'm almost 100% sure that OP has some stray, possibly self-made script or service running (or maybe a broken TB addon) that has some sort of error in it. We won't be able to find it, but evtl. OP will find it, it will be facepalm all around, problem solved, sorry for wasting your time...

A lot could be cleared up by actually looking at the file inside the folder in question, but apparently that is too much to ask.

MadeInGermany 11-11-2020 01:10 AM

Quote:

Originally Posted by kevinbenko (Post 6183842)
To MadeInGermany:

kevin@kevhome:~$ env | grep file\:/
kevin@kevhome:~$ echo $HOME
/home/kevin
kevin@kevhome:~$ getent passwd $USER
kevin:x:1000:1000:Kevin Benko,,,:/home/kevin:/bin/bash
kevin@kevhome:~$



Howzat?

Zats okay.
Search for the file: prefix in your files
Code:

cd
find . -type f -size -100 -exec grep "file:" {} +



All times are GMT -5. The time now is 12:34 PM.