From newsgroups.mail2@stefanbaur.de Tue Oct 23 15:17:50 2012 Received: (at submit) by bugs.x2go.org; 23 Oct 2012 13:17:50 +0000 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by ymir (Postfix) with ESMTP id BA41F5DB14 for ; Tue, 23 Oct 2012 15:17:50 +0200 (CEST) Received: from [192.168.2.20] (dslb-188-105-117-170.pools.arcor-ip.net [188.105.117.170]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0LrINw-1TIuXK1b9o-013I0J; Tue, 23 Oct 2012 15:17:50 +0200 Message-ID: <508698FD.100@stefanbaur.de> Date: Tue, 23 Oct 2012 15:17:49 +0200 From: Stefan Baur User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: submit@bugs.x2go.org Subject: x2goclient deletes all files in a given directory, possible regression Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:585fJViz9eyryfHxt4oCFdQ23LLpWCIJJCH6XmXdJLi xureYVAcnJbtysAN4okIOWxWMCYP64o/F4UGHtsLlqt9AKOGnb CcgqhNkq+XLrYOfvn6GX+Bme516Anr7cBixtgDf6Uvj9Z3bVDm IzMWSfJJ5U1TcBEYbVH1NGyDQeZ+24lNV792SJt4eS/DES608y F3WjAzDoZ5cOKTVdj/TiFlPq08HQglQlOEOSRcKOHad22iZDZP 6dcDhICOVE4UOREMW0AI/Ds4MfD0252+gYSUUv34DKQlTPXUXR MJNtVWtfuIp7JZI+3v9Le5YqeIQU+US8jD4/HwQsh3OwHZFhVL YExFkhJG2K89yrNLDVIdJCF1lBT+041CPpRLU241+ Package: x2goclient Version: 3.99.3.0 Severity: important This is happening with: http://code.x2go.org/releases/binary-win32/x2goclient/with-old-pulseaudio-0.9.6/x2goclient-3.99.3.0.interims-pre2-setup.exe Haven't had a chance to try pre3 yet, but I am assuming it behaves the same, as nobody else reported the bug so far. Steps to reproduce: Create a batch file anyname.cmd with this content: @echo off \\box\x2go\Windows\x2goclient\x2goclient.exe --portable --no-menu --no-session-edit --hide --add-to-known-hosts --session="BOX" --home="%USERPROFILE%" --session-conf="\\box\x2go\box-configs\sessions" --autostart=iceweasel --user=unlimited1 pause Save this file in a directory where the user has write access. Double-click the batch file, enter password. Close Iceweasel. Right-Click the X2Go icon in the Notification area. Select "BOX" (or whatever you named your session, if you didn't follow the example from above). Select "Exit". As soon as the session terminates, ALL the files in the directory where the batch file was stored are deleted - including the batch file itself. This is BAD(tm). I've seen this with an older copy of x2goclient for Windows and reported it to Alex back then, not sure if it never got fixed or if it cropped up again.