From 1ef050a58344a5ffa668ec3c740785d8179cbd9a Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 26 Jan 2002 15:37:24 +0000 Subject: [PATCH] Fixed installation paths for file area #1 --- Makefile | 6 +++--- mbsetup/m_farea.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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);