I am having problems deleting files with Windows File Explorer from an SMB shared folder residing on a NAS (machine specs are at the end).
I can copy a file from the share to a drive resident on the PC, or edit it directly from the NAS, but when I try to delete the NAS version, WinExplorer says it can’t locate the item and is unable to delete it. The file is still there afterwards, as I can copy it again.
Other areas of the wider SMB share are fine, and deletions can occur as expected.
I looked at the ACL permissions of the share using the standard shell command, with the following results:
getfacl /mnt/server/mike_stuff
# owner: nobody
# group: nogroup
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:rwxpDdaARWcCos:fd-----:allow
everyone@:--------------:fd-----:allow
Firstly, it doesn’t sound normal to have two sets of permissions for ‘everyone@’!!
Navigating step-by-step to the subdirectory of interest shows an identical report for each. However when I add the filename to the full string pointing to that subdirectory I get:
'stat() failed: No such file or directory'
even though the file is still visible in WinExplorer and accessible for read operations.
I would sincerely appreciate some assistance in solving the problem, if it is with the permissions. Thanks in advance!
Machine specs
-------------
TrueNAS-12.0-U8.1
SuperMicro X10SDV-4C+-TLN4F
32GB ECC RAM
4 x 4TB in RAIDZ1
Edition Windows 11 Pro
Version 23H2
Installed on 16/12/2022
OS build 22631.4317
Experience Windows Feature Experience Pack 1000.22700.1041.0