Is it a bug or a feature?

Gerald Carter jerry at
Wed Jul 3 05:14:01 GMT 2002

On Wed, 3 Jul 2002, Bogdan Iamandei wrote:

> Is it normal for "preexec" directives to be skipped if the share they're
> associated with does not exist in the first place?

I think so.  IIRC, the preexec is executed after the chdir.  Use
"root preexec" for runnhing a script before the chdir().

cheers, jerry
 SAMBA Team                             
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list