Univention Bugzilla – Bug 34878
Open file handle prevents removal of redirected disk directory
Last modified: 2014-12-02 12:25:37 CET
Seen while testing windows terminal services with neutrinordp:
univention-ucc-remote-mount/remove_fstab_entry unmounts the usb stick and then trys to remove the mountpoint-directory in /run/drives by calling rmdir on it. If a handle to the directory is still existent, e.g. by having an explorer window open in the directory, the mountpoint-directory on the UCC client is not removed.
The user is still capable of copying files into the directory, possibly not knowing that they are not saved on the usb stick.
remove_fstab_entry should remove the directory with rm -f
r50448 univention-ucc-remote-mount 2.0.1-5
QA: In a Windows Terminal server session, insert a usb stick and open an explorer window on the remotely mounted directory, maybe even open a file. If the stick is unplugged, the directory on the ucc client in /run/drives should be removed.
(In reply to Erik Damrose from comment #2)
> QA: In a Windows Terminal server session, insert a usb stick and open an
> explorer window on the remotely mounted directory, maybe even open a file.
> If the stick is unplugged, the directory on the ucc client in /run/drives
> should be removed.
Indeed, working fine.
UCC 2.0 has been released:
If this error occurs again, please use "Clone This Bug".