bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mv deletes files even if parameter not specified.


From: John Miles
Subject: mv deletes files even if parameter not specified.
Date: Wed, 18 Sep 2002 12:05:38 -0700


address@hidden:~/ftpd/ftpd/site/projects/drive3/senior_design# mv ../../drive1/uploads/Bers*

notice that the mv does not have the second parameter of the destination. I omitted this purposly... doing this will delete the first file it finds that matches Bers*

note however, this is repeatable only if I'm using relative "../../" paths several directories in.

typing the same thing but in the directory of the location of the file produces the correct result:

address@hidden:~/ftpd/ftpd/site/projects/drive1/uploads# mv Bers*
mv: missing file argument
Try `mv --help' for more information.


It's easy for hackers or anyone for that matter to delete files.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]