what are these files ? .dstXXX0uBsY8

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:

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 | | DietPi Community Forum - Welcome to the DietPi OS Community Forum
id 103 | =2 | dietpi-ramlog: minimal, optimized logging | | https://dietpi.com/forum/t/dietpi-survey-information/32/1
id 104 | =2 | dropbear: ssh server | | https://dietpi.com/forum/t/dietpi-survey-information/32/1

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

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:

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

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

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.