what are these files ? .dstXXX0uBsY8

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dcaccount

what are these files ? .dstXXX0uBsY8

Post by dcaccount »

Hello,

I have just discovered that insider the directory diet_userdata there are plenty of files all with a similar name like:

.dstXXX0uBsY8

What are these files?

Thanks for helping, daniele
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: what are these files ? .dstXXX0uBsY8

Post by Fourdee »

dcaccount wrote:Hello,

I have just discovered that insider the directory diet_userdata there are plenty of files all with a similar name like:

.dstXXX0uBsY8

What are these files?

Thanks for helping, daniele
Hi Daniele,

Not sure. The filename is not something from DietPi. Its most likely created by a peice of software you've installed on the system (either through dietpi-software or apt).

You can list the installed software with:

Code: Select all

dietpi-software list | grep ' =2 '
Then we can try and find the program which may be generating these files.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
dcaccount

Re: what are these files ? .dstXXX0uBsY8

Post by dcaccount »

Fourdee wrote:
dcaccount wrote:Hello,

I have just discovered that insider the directory diet_userdata there are plenty of files all with a similar name like:

.dstXXX0uBsY8

What are these files?

Thanks for helping, daniele
Hi Daniele,

Not sure. The filename is not something from DietPi. Its most likely created by a peice of software you've installed on the system (either through dietpi-software or apt).

You can list the installed software with:

Code: Select all

dietpi-software list | grep ' =2 '
Then we can try and find the program which may be generating these files.
Thanks for helping.
Actually I have made a mistake, they are not files but directories and they appear to be empty.
The installed software is hardly anything, I have tried to keep the system as low resource as possible being just an FTP server. The output of the command is:

/DietPi/dietpi/dietpi-software: line 34: Exit_Destroy: command not found
id 94 | =2 | proftp: lightweight ftp server | | http://dietpi.com/phpbb/viewtopic.php?f ... art=10#p55
id 103 | =2 | dietpi-ramlog: minimal, optimized logging | | http://dietpi.com/phpbb/viewtopic.php?f ... art=20#p68
id 104 | =2 | dropbear: ssh server | | http://dietpi.com/phpbb/viewtopic.php?f ... art=20#p68

Any idea? I have just checked and the list keeps on growing.
Thanks,
daniele
dcaccount

Re: what are these files ? .dstXXX0uBsY8

Post by dcaccount »

Has anyone an idea where these directories could come from?
The only piece of software I have installed with apt is:


sudo apt-get install ssmtp
sudo apt-get install mailutils

Thanks for helping, Daniele
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: what are these files ? .dstXXX0uBsY8

Post by Fourdee »

dcaccount wrote:Has anyone an idea where these directories could come from?
The only piece of software I have installed with apt is:


sudo apt-get install ssmtp
sudo apt-get install mailutils

Thanks for helping, Daniele
Hi Daniele,

By any chance did you use an existing USB drive on your system for userdata?

Lets check anyway, please paste results:

Code: Select all

blkid
df -h
readlink /mnt/dietpi_userdata
ls -lha /mnt/dietpi_userdata/
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
dcaccount

Re: what are these files ? .dstXXX0uBsY8

Post by dcaccount »

Fourdee wrote:
dcaccount wrote:Has anyone an idea where these directories could come from?
The only piece of software I have installed with apt is:


sudo apt-get install ssmtp
sudo apt-get install mailutils

Thanks for helping, Daniele
Hi Daniele,

By any chance did you use an existing USB drive on your system for userdata?

Lets check anyway, please paste results:

Code: Select all

blkid
df -h
readlink /mnt/dietpi_userdata
ls -lha /mnt/dietpi_userdata/

Hi,
I have never used an USB drive for user data.

I have checked the proftpd.log and I found something interesting but that I can not understand. Please find it here below:

2017-03-22 18:36:18,995 DietPi proftpd[1455] DietPi (192.168.1.199[192.168.1.199]): renaming '/.dstXXXT9X9sF' to '/Backup_NVR' failed: Directory not empty
2017-03-22 18:36:18,998 DietPi proftpd[1455] DietPi (192.168.1.199[192.168.1.199]): renaming '/Backup_NVR/.dstXXMjiTAP' to '/Backup_NVR/192.168.1.199' failed: Directory not empty
2017-03-22 18:36:19,000 DietPi proftpd[1455] DietPi (192.168.1.199[192.168.1.199]): renaming '/Backup_NVR/192.168.1.199/.dstXX5QTunY' to '/Backup_NVR/192.168.1.199/2017-03-22' failed: Directory not empty
2017-03-22 18:36:19,001 DietPi proftpd[1455] DietPi (192.168.1.199[192.168.1.199]): renaming '/Backup_NVR/192.168.1.199/2017-03-22/.dstXXZJ0d8Z' to '/Backup_NVR/192.168.1.199/2017-03-22/004' failed: Directory not empty
2017-03-22 18:36:19,004 DietPi proftpd[1455] DietPi (192.168.1.199[192.168.1.199]): renaming '/Backup_NVR/192.168.1.199/2017-03-22/004/.dstXXFvL3H1' to '/Backup_NVR/192.168.1.199/2017-03-22/004/18' failed: Directory not empty
2017-03-22 18:36:21,949 DietPi proftpd[1430] DietPi (192.168.1.199[192.168.1.199]): renaming '/.dstXXXjl0FXl' to '/Backup_NVR' failed: Directory not empty

Please note that Backup_NVR is the directory where the NVR uploads the snapshots of the video cams. Its subdirectories are the IP address (192.168.1.199) of the NVR and the day (2017-03-22). Then I have 4 directories, 001-002-003-004 that represent the number of each video cam.

What does that mean?
Thanks for helping, daniele
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: what are these files ? .dstXXX0uBsY8

Post by Sciamano »

Could it be the NVR is sending the directories using some kind of temporary folder which it tries to rename later?
How does the NVR send its material? Is it a specific program or some kind of an internal software?
dcaccount

Re: what are these files ? .dstXXX0uBsY8

Post by dcaccount »

Sciamano wrote:Could it be the NVR is sending the directories using some kind of temporary folder which it tries to rename later?
How does the NVR send its material? Is it a specific program or some kind of an internal software?
It is a proprietary software of the NVR, it uploads via FTP
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: what are these files ? .dstXXX0uBsY8

Post by Sciamano »

I suspect this might be the culprit. From the ftp logs it looks like it uploads some kind of temporary folder and tries to rename it when finished uploading.
You could try uploading to a different server to check if the same happens.
Post Reply