Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Script has some bugs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script has some bugs
Authored by: sharumpe on Mar 13, '02 01:34:41AM

It is generally a bad idea to run anything as root, and even less of a good idea to set programs to setuid. If the program turns out to have some sort of problem, it may become possible to gain root access.

Not to mention, of course, little things like the fact that the files are created as root. cp has a flag that maintains permissions, I wonder if ditto does?

Mr. Sharumpe

[ Reply to This | # ]