X2Go Bug report logs - #52
x2goclient deletes all files in a given directory, possible regression

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Stefan Baur <newsgroups.mail2@stefanbaur.de>

Date: Tue, 23 Oct 2012 13:18:02 UTC

Severity: important

Tags: moreinfo

Found in version 3.99.3.0

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#52; Package x2goclient. (Tue, 23 Oct 2012 13:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Tue, 23 Oct 2012 13:18:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
To: submit@bugs.x2go.org
Subject: x2goclient deletes all files in a given directory, possible regression
Date: Tue, 23 Oct 2012 15:17:49 +0200
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.


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#52; Package x2goclient. (Tue, 23 Oct 2012 14:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Tue, 23 Oct 2012 14:33:01 GMT) (full text, mbox, link).


Message #10 received at 52@bugs.x2go.org (full text, mbox, reply):

From: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
To: Stefan Baur <newsgroups.mail2@stefanbaur.de>, 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
Date: Tue, 23 Oct 2012 16:24:31 +0200
[Message part 1 (text/plain, inline)]
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


-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder@obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere@home

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) moreinfo. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Tue, 23 Oct 2012 14:48:01 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#52; Package x2goclient. (Tue, 23 Oct 2012 15:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Tue, 23 Oct 2012 15:18:02 GMT) (full text, mbox, link).


Message #17 received at 52@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
To: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
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
Date: Tue, 23 Oct 2012 17:16:37 +0200
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
>
>


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Dec 22 05:06:10 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.