diff --git a/Makefile b/Makefile index a8fdae0f..abb88b4b 100644 --- a/Makefile +++ b/Makefile @@ -123,15 +123,15 @@ install: mkdir ${PREFIX}/ftp ; \ mkdir ${PREFIX}/ftp/pub ; \ mkdir ${PREFIX}/ftp/incoming ; \ - mkdir ${PREFIX}/ftp/local ; \ + mkdir ${PREFIX}/ftp/pub/local ; \ ${CHOWN} `id -un`.`id -gn` ${PREFIX}/ftp ; \ chmod 0755 ${PREFIX}/ftp ; \ ${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/ftp/pub ; \ chmod 0755 ${PREFIX}/ftp/pub ; \ ${CHOWN} `id -un`.`id -gn` ${PREFIX}/ftp/incoming ; \ chmod 0755 ${PREFIX}/ftp/incoming ; \ - ${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/ftp/local ; \ - chmod 0755 ${PREFIX}/ftp/local ; \ + ${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/ftp/pub/local ; \ + chmod 0755 ${PREFIX}/ftp/pub/local ; \ fi @if [ ! -d ${PREFIX}/var/bso ] ; then \ mkdir ${PREFIX}/var/nodelist ; \ diff --git a/mbsetup/m_farea.c b/mbsetup/m_farea.c index 40986b8e..d02697f1 100644 --- a/mbsetup/m_farea.c +++ b/mbsetup/m_farea.c @@ -76,7 +76,7 @@ int CountFilearea(void) area.FileFind = TRUE; sprintf(area.BbsGroup, "LOCAL"); sprintf(area.NewGroup, "LOCAL"); - sprintf(area.Path, "%s/local/common", CFG.ftp_base); + sprintf(area.Path, "%s/pub/local/common", CFG.ftp_base); fwrite(&area, sizeof(area), 1, fil); fclose(fil); chmod(ffile, 0640);