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

Re: run-parts and valid filenames



Aaron Hall wrote:
> So, having done that, I'm curious: why does run-parts have such a narrow
> view of a "valid filename". It's there for a reason, else why write the
> validation code?

Because it's very bad to have it run files like:

foo.dpkg-old
foo.dpkg-new
foo~
.foo.swp

All of which may easily get into a run-parts directory.

-- 
see shy jo



Reply to: