What's new

Hidden txt files on smb shares

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vprasinos

Occasional Visitor
I'm seeing hidden .txt files on every samba windows share I have like:
.___var.txt
.___var.txt.169
.__admin_var.txt
.__admin_var.txt.169
.__folder_list.txt
.__folder_list.txt.148

and for every user I add, more txt files. Even if I delete them they get recreated on every reboot. Where do they come from (samba service?) and how can I permanently delete them? Is it safe?
 
Don't delete those files. They are used by the firmware to store the information about the ftp/smb users and folder permissions.
 
Can someone explain the logic in the format for these files

I am going to assume the .___var.txt is the default permissions for any new user??
my .___var.txt looks like this:
Code:
*=331
*Backups=331
*Downloads=331
*Media=331
*Private=331
*Share=331
*Temp=331

what are the numbers for?

From what I can tell:
The first number is the SAMBA share level
The next is the FTP share level

0 = NO
1 = R
2 = W
3 = R/W

Am I close??

and SAMBA cannot use 2 as a value
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top