Re: run-parts and valid filenames
>
> 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?
>
> I'm just curious, but it would be nice to know.
>
my guess is that Debian calls the directories to be run by run-parts foo.d so
having the files contained not have dots is just for sanity. Would foo.d/bar.s
be a file or a directory? The other reason is that the sanity checker is
called once for every file, so having it as simple as possible makes it as fast
as possible.
Reply to: