I recently discovered, and am trying to delete, several hundred duplicate folders on my home NAS (running Openmediavault 4.x). I originally created these folders from my home workstation running UM 18.04, and am using the same machine to try to delete them.
I’m connecting to the NAS share with SMB/CIFS (most of the family is on Windows). Login was through a GUI dialog in Caja. When I try to delete the folders using Caja, the delete appears to be successful. When I refresh, however, the folders are still present.
Using Caja, I can delete individual files, or multiple files in a single folder, and can delete the folders themselves once they are empty. If I try to delete a folder with content, however, always reappears after refreshing.
This behavior seems to be restricted to shares over the network. Deleting local folders with content (in /home for example) works fine.
If I access the NAS with a different OS (logging in as the same user), I have no issues deleting folders with content, so I assume there’s some configuration in my Workstation’s UM 18.04 instance that’s preventing it, but I’m not smart enough to know what it is.
Any thoughts would be appreciated!
Hello
Sounds like a bug to me.
Or at least, I’m not aware of any conf setting that would cause such a thing.
Can you please make sure both of your users have the same UID?
Also, when you say “different OS”, do you mean on the same machine?
This bug may be related.
https://bugzilla.redhat.com/show_bug.cgi?id=1563674
I don’t use Samba myself, but the notes look like there is a bug in upstream Nautilus.
1 Like
Reading further in the notes, it looks like the bug was in libsmbclient, and it has been fixed in v4.7 and 4.8 tree. My (current as of today) version is at 4.7.6.
Perhaps filing a bug report in the Ubuntu system would help get the updated version packaged and in the repository. 4.8.4 is in Cosmic already.
2 Likes
Yes and Yes. Same UID and "different OS" was windows on the same machine.
Yes, that's exactly the behavior I'm seeing. I'm also on 4.7.6 for libsmbclient.
I guess I can either wait for 4.8.4 or set up NFS on the NAS. I was sticking to Samba alone because I'm in a house full of Windows users and didn't want to have to manage both, but maybe its time to get it done!
Thanks to both of you for the rapid response!
Alternatively, some NAS can handle SSH connections.
1 Like
Okay, that was almost too easy. SSH worked perfectly and right from Caja. Thank you!
1 Like