Univention Bugzilla – Bug 36696
Open file handle prevents removal of redirected disk directory
Last modified: 2023-06-28 10:33:21 CEST
univention-ucc-remote-mount should be backported to UCC 1.0 +++ This bug was initially created as a clone of Bug #34878 +++ 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
As discussed, we don't plan to backport this to UCC 1.0