Fixed installation paths for file area #1
This commit is contained in:
parent
94ed3828f3
commit
1ef050a583
6
Makefile
6
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 ; \
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user