IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New My guess
Is there a program that is usually set up to clean up the /tmp folder? If such a program were to access a directory of the /tmp dir would it not see that one mangled filename as two separate files (the newline separating them)? Would it not then in deleting the file end up deleting both?

BTW I missed 7 on those, and a few of those I shouldn't have. Doh!
~~~)-Steven----

"I want you to remember that no bastard ever won a war by dying for his country.
He won it by making the other poor dumb bastard die for his country..."

General George S. Patton
New Bingo
If said cron was written as a shell script using find to produce a list of files to remove, and then removing them, it would be very easy to make exactly that mistake. And, of course, that would have to run as root, so it is able to blow away your password file.

If you wrote it in C, Perl, or any other "real programming language", you would not confuse returns inside of filenames as breaks between filenames.

Cheers,
Ben
     Linux Test - (broomberg) - (21)
         Don't hire me. - (Another Scott)
         Re: Linux Test - (JayMehaffey)
         See the comments at LinuxToday - (ben_tilly) - (12)
             I'll bite - (broomberg) - (9)
                 So far so good, now for a hint - (ben_tilly) - (8)
                     My guess - (Steven A S) - (1)
                         Bingo - (ben_tilly)
                     gak - (cforde) - (5)
                         null and / - (ben_tilly) - (4)
                             dont forget pipe and redir | > and your example would be ok - (boxley) - (1)
                                 touch 'foo | bar > baz' - (ben_tilly)
                             Berkeley, Unix and something else - (cforde) - (1)
                                 It is easier to allow than to disallow - (ben_tilly)
             I'll bite - (cforde) - (1)
                 That sounds wrong - (wharris2)
         Unix Review -- can't connect - (kmself) - (1)
             Works here - DC area, Nav4/Win32. -NT - (Another Scott)
         Heh. - (static)
         I thought I didn't know much about Linux... - (Meerkat)
         Re: Linux Test - (gdaustin)
         Late comer... - (folkert)

What? You're not me? I'm sorry, I can't talk to you. Put me on the phone instead.
40 ms