KeePass containers disappeared after save

Description

Hello, this should be my first post ever... I am using Truenas 12.0-U1 for a couple of weeks now (by the way awesome interface coming fro 11.3-U5...) and noticed an annoying issue when using KeePass (version 2.46).

I am using two Windows 10 computers, called A and B in the following; with different user accounts A and B respectively. Both user accounts A and B were put in a same group "Ma****" which was given full control of the share where the KeePass file is located.

When editing the file and saving the *.kdbx file with computer A (or B), the file disappeared from browsing on computer B (or A). The only way to see again the file for user B on computer B (or A) is to go to the ACL menu and re-apply the permission back recursively.

I am maybe doing thousand of things wrong here; maybe... How does this issue inspire you a fix? Thanks for the help and support.

Problem/Justification

None

Impact

None

is duplicated by

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Maxime Blangero January 12, 2021 at 10:51 PM

Dear Andrew, 

thanks a lot; and thanks again for making Truenas such a great experience and available to everyone. 

Andrew Walker January 12, 2021 at 4:19 PM

Hi Maxime, I found the bug that was causing your issue. For a workaround you can do the following:

  • add a new entry for the group "builtin_users" to your dataset's ACL granting it MODIFY.

Bug Clerk January 12, 2021 at 2:53 PM

Maxime Blangero January 9, 2021 at 4:11 AM
Edited

Dear Andrew, please find attached the results of:

"getfacl /mnt/Athena-8TiB-Z2/Maxime/Documents/Admin/13y_psswd.kdbx", including screen copies in the PowerPoint container, and,
"tcpdump -i igb0 -w /tmp/smb.pcap host 192.168.0.20",
before and after saving changes.

I also confirm that refreshing explorer won't help. The only way to recover the file on computer B (user B) is to, until now, use a not so elegant ACL refresh.

I hope that these files will help you forward,
thanks again for your help,

Maxime 

Andrew Walker January 7, 2021 at 12:47 PM
Edited

I can confirm that once the kdbx file is edited on computer "A" by user "A"; the file instantly disappeared from user "B" file explorer view.

Yes. This can happen if a change notification is dropped on the file's parent directory is lost. There is a "refresh" button in Windows File Explorer. If you click it, then Windows will re-scan the directory. This is a check to see whether the notifications are failing.

I would like to generate the "packet capture" as you explained; bearing in mind that I am an accomplished noobs, I will need extra guidance to translate:

"tcpdump -i <your interface> host <ip address of windows client with file open> -w /tmp/smb.pcap" into a workable valid command line.

What is the definition of:

<your interface>: where can I find "interface"?

The "dashboard" in the TrueNAS webui should have some cards showing details of network interfaces on your TrueNAS server. I think in your case "igb0" is the correct one, but you can double-check.

<ip address of windows client with file open>: would "192.168.0.20" work?

yes

So the finalized command will be something like:

tcpdump -i igb0 -w /tmp/smb.pcap host 192.168.0.20

The path after the "-w" indicates where the output will be written.

It would also be helpful to see the output of "getfacl <path to file>" from before and after saving changes to the keepass file. Example: "getfacl /mnt/Athena-8TiB-Z2/share/keepass.kdbx"

Complete

Details

Assignee

Reporter

Labels

Impact

Low

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created January 1, 2021 at 2:03 PM
Updated July 1, 2022 at 4:59 PM
Resolved January 12, 2021 at 2:53 PM

Flag notifications