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. From oleksandr.shneyder@obviously-nice.de Tue Oct 23 16:24:37 2012 Received: (at 52) by bugs.x2go.org; 23 Oct 2012 14:24:37 +0000 Received: from phoca.obviouslynice.de (85-10-207-20.clients.your-server.de [85.10.207.20]) by ymir (Postfix) with ESMTP id 6ECFD5DB14 for <52@bugs.x2go.org>; Tue, 23 Oct 2012 16:24:37 +0200 (CEST) Received: from [192.168.0.108] (188-195-168-12-dynip.superkabel.de [188.195.168.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by phoca.obviouslynice.de (Postfix) with ESMTPSA id D65E71A0001; Tue, 23 Oct 2012 16:01:24 +0200 (CEST) Message-ID: <5086A89F.4040508@obviously-nice.de> Date: Tue, 23 Oct 2012 16:24:31 +0200 From: Oleksandr Shneyder User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7 MIME-Version: 1.0 To: Stefan Baur , 52@bugs.x2go.org, x2go-dev@lists.berlios.de Subject: Re: [X2Go-Dev] Bug#52: x2goclient deletes all files in a given directory, possible regression References: <508698FD.100@stefanbaur.de> In-Reply-To: <508698FD.100@stefanbaur.de> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF190A1483AF821D0F1F43A3E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF190A1483AF821D0F1F43A3E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Stefan, Unfortunately I can't reproduce this bug. In my setup staying the batch (and other files) undeleted... regards, Alex Am 23.10.2012 15:17, schrieb Stefan Baur: > Package: x2goclient > Version: 3.99.3.0 > Severity: important >=20 > This is happening with: > http://code.x2go.org/releases/binary-win32/x2goclient/with-old-pulseaud= io-0.9.6/x2goclient-3.99.3.0.interims-pre2-setup.exe >=20 > 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. >=20 > Steps to reproduce: >=20 > Create a batch file anyname.cmd with this content: >=20 > @echo off > \\box\x2go\Windows\x2goclient\x2goclient.exe --portable --no-menu > --no-session-edit --hide --add-to-known-hosts --session=3D"BOX" > --home=3D"%USERPROFILE%" --session-conf=3D"\\box\x2go\box-configs\sessi= ons" > --autostart=3Diceweasel --user=3Dunlimited1 > pause >=20 > Save this file in a directory where the user has write access. >=20 > Double-click the batch file, enter password. >=20 > Close Iceweasel. >=20 > 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). >=20 > Select "Exit". >=20 > 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= =2E >=20 > This is BAD(tm). >=20 > I've seen this with an older copy of x2goclient for Windows and reporte= d > it to Alex back then, not sure if it never got fixed or if it cropped u= p > again. > _______________________________________________ > X2Go-Dev mailing list > X2Go-Dev@lists.berlios.de > https://lists.berlios.de/mailman/listinfo/x2go-dev --=20 Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de --> X2go - everywhere@home --------------enigF190A1483AF821D0F1F43A3E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlCGqKQACgkQxQmEC5b4kTN8vgCfV5NDUnowYmG+yAtxr615SNnY aF8AoJzyBudvpMSzZzCxpK1tvoGONavn =iu2Y -----END PGP SIGNATURE----- --------------enigF190A1483AF821D0F1F43A3E-- From mike.gabriel@das-netzwerkteam.de Tue Oct 23 16:45:32 2012 Received: (at control) by bugs.x2go.org; 23 Oct 2012 14:45:32 +0000 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id CFD7D5DB14 for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 7AA40BCC for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6093F3BC29 for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z9hbzTwwcP6c for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 347643BD0A for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1DB7A3BC29 for ; Tue, 23 Oct 2012 16:45:32 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on grimnir.das-netzwerkteam.de X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 running as userid= X-Spam-Level: X-Spam-Bayes-Score: 0.0000 Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33) id E47483BD0A; Tue, 23 Oct 2012 16:45:31 +0200 (CEST) Received: from 195.244.234.222 ([195.244.234.222]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Tue, 23 Oct 2012 16:45:31 +0200 Message-ID: <20121023164531.80806pbhyfuxsakr@mail.das-netzwerkteam.de> X-Priority: 3 (Normal) Date: Tue, 23 Oct 2012 16:45:31 +0200 From: Mike Gabriel To: control@bugs.x2go.org Subject: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_6mrap1n93n9n"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.4) This message is in MIME format and has been PGP signed. --=_6mrap1n93n9n Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit tags #52 moreinfo thanks --=_6mrap1n93n9n Content-Type: application/pgp-signature Content-Description: Digitale PGP-Unterschrift Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABAgAGBQJQhq2LAAoJEJr0azAldxsx3+IP+weQxNrwFdmZ3puLJZvmKoL4 d3N9pcWpqWqiCPvITo26kWoBvogO75Q9dHGWMcJa/bZOsHE+BihRaUIZ/QpRZ6bD y9FgNl1/AiCdKRed1UxnKJnNhtj+EFm285D83qESZt6m+0XVrRmMcLZmZjhJErbq dixKS6lUWlD0WPl+WT7NaTgSYwh8XA1GKrzms4fkGcfwKBg7b2ed6V24RJTKdhzG ChplLZGSNp+tg1TbqyxQWTWKMMn3UMstyCoG0fmJiO2BSEzmF1oTJnadHYr1ucnn 7O2jPvzkokdf9HtlhknYYQS9h4o7cS5WVCjXUKF0GwUGszEb4kz/XZveCRvhNKvL kfyaO7tW174kfEmmfshLLZrYL4OpfaFWx8DVSvQEI0XNs4dZwJBfzGAUjsTKW1kA mGrNVexR0EfI3gJamaamR8mMlmszfC2IZiE5VZRtXYEE5aP0vvepFG4egivZBgBa q/nYRQ+6WpfFHzqtoC6KteQUgxXFSh0J7//n0+JJdnJgsz7eIywPf/SY5Kzc1qO9 W0TS7N80kw2y4yNk2BuSSBs6jN63L5W8dX2atSm+yxK8E5rEvGZJGLKhXV7SM1D8 l8lklTAb++k3/9RkmDKbs1izQ8eAzfkLBB88TNVMYah2cJj4YG5uGChc21fa9QS8 UtR8k1xwgK2yUjzpDuK7 =egtp -----END PGP SIGNATURE----- --=_6mrap1n93n9n-- From newsgroups.mail2@stefanbaur.de Tue Oct 23 17:16:20 2012 Received: (at 52) by bugs.x2go.org; 23 Oct 2012 15:16:20 +0000 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by ymir (Postfix) with ESMTP id C553F5DB14 for <52@bugs.x2go.org>; Tue, 23 Oct 2012 17:16:20 +0200 (CEST) Received: from [192.168.2.3] (dslb-188-105-117-170.pools.arcor-ip.net [188.105.117.170]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MARiQ-1Tb6cQ1Gaw-00B1jh; Tue, 23 Oct 2012 17:16:20 +0200 Message-ID: <5086B4D5.4090405@stefanbaur.de> Date: Tue, 23 Oct 2012 17:16:37 +0200 From: Stefan Baur User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Oleksandr Shneyder CC: 52@bugs.x2go.org, x2go-dev@lists.berlios.de Subject: Re: [X2Go-Dev] Bug#52: x2goclient deletes all files in a given directory, possible regression References: <508698FD.100@stefanbaur.de> <5086A89F.4040508@obviously-nice.de> In-Reply-To: <5086A89F.4040508@obviously-nice.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:pMblGCrboOpKNF+SXpr5UfHM+7NyjmA0nNQ8on9w6XJ 3VRm0rHXVeW/bYB1UE0eqaJvUbyO/V5gNpswrQWKxNPA7kptIo Dwh5vv2SbnNvuZvHqOGygvnwkrpU6ccCOgjQYQRzOWxgWmyvQy fkxXg+Uh0JWyukOGHBhlOUZeYLp7qknwDOd/HgE/X/qsL5GqLF ns1CMBghu+Pgsg7JN1MeDOPoauPneD/VqTrHa4+UV9zvCGzttx WYkKGi1QzVZ1kNoOU7nD0XTTlDxpy1gyXBY2ayxVyZpuzg3EZo pxEIR8SF7LLbb5u0SFFzX/0MVw/2HivabZ7i8QlHlRtUMQvL9p QL6D5Dozd6b4zZrCKvNgstmggLm5uzqXX/sJ1lm7T Further testing reveals that the bug only manifests itself if the directory in which the batch file is located is a root directory. In my case, it was the user's home directory on a mapped network drive: U:\ was mapped to \\fileserver\homedirs\myuser and the batch file was U:\testfile.cmd It also happens if you "subst" a drive letter: subst U: C:\Users\myuser\Downloads Save the file as C:\Users\myuser\Downloads\testfile.cmd and call it as U:\testfile.cmd - The directory C:\Users\myuser\Downloads\ gets zapped. I can record a video of it if necessary. Am 23.10.2012 16:24, schrieb Oleksandr Shneyder: > Hello Stefan, > > Unfortunately I can't reproduce this bug. In my setup staying the batch > (and other files) undeleted... > > regards, > Alex > > Am 23.10.2012 15:17, schrieb Stefan Baur: >> 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. >> _______________________________________________ >> X2Go-Dev mailing list >> X2Go-Dev@lists.berlios.de >> https://lists.berlios.de/mailman/listinfo/x2go-dev > >