Looks like a major security problem to me. By creating directory names
with embedded white space you can make that script delete any directory
tree in the system. You might want to show the smug sysadmin what would
happen if someone were to do:
$ mkdir "junk "
$ cd "junk "
$ mkdir "etc "
$ cd "etc "
$ touch core
If you test this with the script quoted above, I strongly suggest
replacing the "rm -rf" command with something more innocuous, like
"echo".
-- Bob Nichols rnichols@interaccess.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/