4.2.1 and multiple ftp+pure-ftpd -> loose your home-dir ?

Please post any bugs you have found
Post Reply
Message
Author
User avatar
flugwelpe
Posts: 29
Joined: Fri 15 May 2009, 15:14
Location: Vienna, Austria

4.2.1 and multiple ftp+pure-ftpd -> loose your home-dir ?

#1 Post by flugwelpe »

Don't know how that happened exactly. Somehow I managed to delete my home-dir on one of my machines.

So setup of desaster:
two machines with puppy 4.2.1
the Files-Sharing/Setup-Sharing wizard
pure-FTPd

What I did:
I tried to get some files from machine A to B.
Started pure-FTPd on machine A. (no anonymous, root login allowed)
Found it mounts /root/, didn't know how mount sth else.
Copied files for machine B in a folder in /root/ .
Not enough memory in the save file on machine A, so i decide not to download from A but upload on B.
Then i closed and stopped and started ftp server and clients in an order which I can't remember. I suppose there was some overlap when ftpd was running on both machines. The puppy Setup-Sharing script was definitly confused by having client and daemon running the same time.
Afterwards I find out: my /root/ on machine A is gone
My /var/log/messages on machine A has a lot of entries like:
Sep 2 19:19:15 (none) ftp.notice pure-ftpd: (root@192.168.1.130) [NOTICE] Deleted README.txt
with 192.168.1.130 being machine B

I definitely didn't use rm or any of the ROX ways to issue delete commands.
Any clues what happened there? Could the Setup-Sharing script have caused this?

Luckily it seems there was nothing important in the home dir. The important data was put there via unionfs and it seems pure-ftpd didn't serve it.

[/quote]

Post Reply