can not delete a non-empty directory on remote NAS smb share

Bug #1777601 reported by Bob Doty
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pcmanfm (Ubuntu)
Confirmed
Medium
Karl Stenerud

Bug Description

Using Lubuntu 18.04 LTS graphical file manager pcmanfm, can not delete a non-empty subdirectory on a remote Network Attached Storage samba smb shared folder. Lubuntu 16.04 LTS did not behave this way. With 18.04 LTS, must navigate through the entire directory structure, deleting files in each individual subdirectory. As a work-around, I found that I can delete a non-empty subdir on a NAS smb share from the Terminal command line using the "rm -rf" command.

I have confirmed that the same behavior exists in Ubuntu 18.04 LTS using the nautilus file manager and also Ubuntu Mate 18.04 LTS using the caja file manager.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pcmanfm 1.2.5-3ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic i686
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: i386
Config_pcmanfm_System_Lubuntu: Error: [Errno 2] No such file or directory: '/etc/xdg/pcmanfm/Lubuntu/lubuntu.conf'
CurrentDesktop: LXDE
Date: Tue Jun 19 01:04:26 2018
InstallationDate: Installed on 2018-05-04 (46 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release i386 (20180426)
SourcePackage: pcmanfm
Udisks_dump: Error: [Errno 2] No such file or directory: 'udisks': 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bob Doty (bobdoty) wrote :
Revision history for this message
Bob Doty (bobdoty) wrote :

Clarification: when I try to delete a non-empty NAS smb subdirectory using pcmanfm, the directory disappears from the window, but the directory is not really gone. If I navigate away from the current folder and then come back (or if I press F5 to reload the folder), the subdirectory that I thought that I had just deleted reappears on the screen.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pcmanfm (Ubuntu):
status: New → Confirmed
Revision history for this message
Olav Seyfarth (olav-seyfarth-d) wrote :

This bug is also present in Nautilus on a fully patched Arch (Solus 3.9999) against a debian Samba 4.2 server share. So it might be a vfs issue?

Revision history for this message
Olav Seyfarth (olav-seyfarth-d) wrote :

Hmmm, rather a (already fixed Samba bug: https://bugzilla.samba.org/show_bug.cgi?id=13204

Revision history for this message
Karl Stenerud (kstenerud) wrote :

The fix is to check the result of rmdir instead of blindly returning success, as per the upstream samba bug link above. The fix has not yet made it into bionic or cosmic.

Changed in pcmanfm (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Karl Stenerud (kstenerud)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.