Hi,
I have a simple TrueNAS SCALE 23.10.2 setup using two set of mirrors (4 drives). One set of drive mirrors I use often to store documents. I often open the documents using MS Word or LibreOffice. The Share Type: SMB with Purpose: No presets, and Export Recycle Bin Enabled. In Windows 11 23H2, I have the Show hidden files, folders, and drives Enabled.
I would open, edit, and save directly in the SMB share, hence a temporary file is created and then deleted either by LibreOffice or MS Word automatically when I close those programs. These temporary files are moved to the hidden .recycle directory. Every once in a while, I would review my deleted files along with those temporary files. The *.tmp & ~$**** files, I would simply delete. I often just delete the .recycle, and TrueNAS auto creates a fresh one when needed.
I saw that the temporary files are ALL properly deleted, but TrueNAS always leaves a few empty directory behind. When I try to delete those empty ditrectories from Windows 11 share, nothing happens, no indications of permission violation or anything. I can rename those empty directories within Windows share, but just cannot delete them.
I can also delete those empty directories within .recycle from the TrueNAS shell without issue, but I just cannot delete them from Windows share, which has the Show hidden files, folders, and drives Enabled. Currently I just let the number of undeletable empty directories within .recycle pile up before deleting them from the shell.
There must be a reason why I can rename the empty directories, but not delete them. I remember having this exact same issue when I was using TrueNAS Core about 3 years ago, and this issue was fixed in a later release. The temporary files & directories are created by MS Word and LibreOffice when opening, closing, and/or saving files.
Has anyone else seen this issue before? Does anyone have a clue on how do I fix it so that I can delete those empty directories from Windows.
Thanks....
Peter
I have a simple TrueNAS SCALE 23.10.2 setup using two set of mirrors (4 drives). One set of drive mirrors I use often to store documents. I often open the documents using MS Word or LibreOffice. The Share Type: SMB with Purpose: No presets, and Export Recycle Bin Enabled. In Windows 11 23H2, I have the Show hidden files, folders, and drives Enabled.
I would open, edit, and save directly in the SMB share, hence a temporary file is created and then deleted either by LibreOffice or MS Word automatically when I close those programs. These temporary files are moved to the hidden .recycle directory. Every once in a while, I would review my deleted files along with those temporary files. The *.tmp & ~$**** files, I would simply delete. I often just delete the .recycle, and TrueNAS auto creates a fresh one when needed.
I saw that the temporary files are ALL properly deleted, but TrueNAS always leaves a few empty directory behind. When I try to delete those empty ditrectories from Windows 11 share, nothing happens, no indications of permission violation or anything. I can rename those empty directories within Windows share, but just cannot delete them.
I can also delete those empty directories within .recycle from the TrueNAS shell without issue, but I just cannot delete them from Windows share, which has the Show hidden files, folders, and drives Enabled. Currently I just let the number of undeletable empty directories within .recycle pile up before deleting them from the shell.
There must be a reason why I can rename the empty directories, but not delete them. I remember having this exact same issue when I was using TrueNAS Core about 3 years ago, and this issue was fixed in a later release. The temporary files & directories are created by MS Word and LibreOffice when opening, closing, and/or saving files.
Has anyone else seen this issue before? Does anyone have a clue on how do I fix it so that I can delete those empty directories from Windows.
Thanks....
Peter