From unknown Wed Mar 11 14:00:44 2026
X-Loop: git-admin@x2go.org
Subject: Bug#52: x2goclient deletes all files in a given directory, possible regression
Reply-To: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>, 52@bugs.x2go.org
Resent-From: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Tue, 23 Oct 2012 14:33:01 +0000
Resent-Message-ID: <handler.52.B52.13510022771288@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 52
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 52-submit@bugs.x2go.org id=B52.13510022771288
          (code B ref 52); Tue, 23 Oct 2012 14:33:01 +0000
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 <oleksandr.shneyder@obviously-nice.de>
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 <newsgroups.mail2@stefanbaur.de>, 52@bugs.x2go.org, 
 x2go-dev@lists.berlios.de
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--
