tsclient redirect home dir

Martijn Brouwer martijn.brouwer at inter.nl.net
Wed Jul 15 21:11:30 UTC 2009


Dear Debian maintainers,
Some time ago I just discovered the possibility to map the local file
system to the terminal server. I really like this feature except that I
do not think it correct that the whole file system is exposed to the
remote server (running windows!).
Since rdesktop can map any directory it takes only a few small changes
to the tsclient code to have the users home directory mapped instead of
the root directory. I made these changes and created an debian patch for
it.
What the patch does:
- if the diskmapping check box is enable it retrieves the users home dir
from the HOME environment variable
- since this variable can be changed by the user, I check whether the
user owns the directory. 
- if he does, the directory is mapped to the terminal server
- I changed the strings in the gui to reflect these changes
In this way the user can in principle map any directory he wants
provided he owns it. To me this seems a sane policy.
The patch can be copied to the debian/patches directory.
Can you please review the patch, apply it to the unstable repository and
forward it upstream?
The tsclient seems to be overhauled extensively at this moment, but
judging by the date of the tar ball, progress is slow.

with kind regards,

Martijn


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11_remote_disk_mapping.patch
Type: text/x-patch
Size: 2522 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090715/958cb362/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list