how to test magic script
Andrew Tridgell
tridge at samba.anu.edu.au
Thu Aug 20 02:10:04 GMT 1998
> And that sounds like a bug to me. I would think that magic scripts should
> *always* be executed as "./path" rather than "path". That will both
> prevent your problem, and make sure that some other "path" is not executed
> by mistake.
true.
I'm tempted just to remove magic scripts altogether, they are such an
ugly hack. I should never have put them in.
Better might be some sort of general "open action" and "close action"
options, giving a specific command to run with substitution of %s for
the filename being opened/closed.
More information about the samba-technical
mailing list