mv deletes files even if parameter not specified.

"John Miles" <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>

root@blitz:~/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:

root@blitz:~/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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.