Bug 36696 - Open file handle prevents removal of redirected disk directory
Open file handle prevents removal of redirected disk directory
Status: CLOSED WORKSFORME
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Terminal services
UCC 1.0
Other Linux
: P5 normal
: ---
Assigned To: UCC maintainers
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-14 13:19 CET by Michael Grandjean
Modified: 2023-06-28 10:33 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2014-11-14 13:19:38 CET
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
Comment 1 Moritz Muehlenhoff univentionstaff 2014-12-10 12:09:52 CET
As discussed, we don't plan to backport this to UCC 1.0