diff options
-rw-r--r-- | samba/smb-shares.conf.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4 index df09358..eea8004 100644 --- a/samba/smb-shares.conf.m4 +++ b/samba/smb-shares.conf.m4 @@ -2,7 +2,7 @@ ifelse(` /etc/samba/smb-shares.m4 Copyright 2002 Jonas Smedegaard <dr@jones.dk> -$Id: smb-shares.conf.m4,v 1.18 2002-09-19 11:35:40 jonas Exp $ +$Id: smb-shares.conf.m4,v 1.19 2002-09-27 12:54:28 jonas Exp $ m4 share definitions for generating Samba server smb.conf include file @@ -64,9 +64,10 @@ define(<_masks>, directory mask = $2 >)dnl define(<_pre_mkdir>, -< root preexec = '/bin/mkdir -p $1 \ - /bin/chown $2 $1 \ - /bin/chmod $3 $1' +< root preexec = /bin/bash -c ' \ + /bin/mkdir -p $1 && \ + /bin/chown $2 $1 && \ + /bin/chmod $3 $1 ' >)dnl define(<_dir>, <>)dnl define(<_files>, |