how to test magic script
Charlie Brady
cbrady at ind.tansu.com.au
Thu Aug 20 01:14:22 GMT 1998
On Wed, 19 Aug 1998, Daniel Grandjean wrote:
> >
> > I remember at some stage that samba wasn't executing magic scripts at the
> > top level of a share (because . wasn't in the path). So try a subdirectory
> > first.
> >
>
> Thanks Charlie
> It was indeed the case, I was always testing the script from
> the top level directory.
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.
> Everything run fine from any other place.
>
> Thanks
> Daniel.
> -
> Daniel Grandjean, Swiss Federal Institute of Technology __ __
> Address: EPFL SI-DGR, CH-1015 Lausanne, Switzerland | \/ |
> E-mail: Daniel.Grandjean at epfl.ch |o ()o _
> Phone: +41 21 693 27 24 (Central European Time) |__/\__/
> Fax: +41 21 693 27 27
> WWW: http://dgrwww.epfl.ch \__/
>
Charlie Brady - Telstra |internet: cbrady at ind.tansu.com.au
Network Products |Snail : Locked Bag 6581, GPO Sydney 2001 Australia
Platform Technologies |Physical : Lvl 2, 175 Liverpool St, Sydney 2000
IN-Sub Unit - Sydney | Phone: +61 2 9206 3470 Fax: +61 2 9281 1301
More information about the samba-technical
mailing list