Corrected a lot of filemodes

This commit is contained in:
Michiel Broek 2002-01-25 20:21:50 +00:00
parent b39503d9aa
commit e60df5be80
27 changed files with 32 additions and 0 deletions

View File

@ -4261,6 +4261,7 @@ v0.33.19 26-Oct-2001
mblogin and mbuseradd. mblogin and mbuseradd.
Started NetBSD port, is in testing fase. Started NetBSD port, is in testing fase.
Added support for xinetd. Added support for xinetd.
Fixed filemodes for some directories and data files.
SETUP.sh: SETUP.sh:
Better grep to check for excisting usernames like bbs, mbse. Better grep to check for excisting usernames like bbs, mbse.
@ -4303,6 +4304,7 @@ v0.33.19 26-Oct-2001
now in a more logical order for a first system setup. now in a more logical order for a first system setup.
Most datafiles are now saved mode 0640 exept the files that Most datafiles are now saved mode 0640 exept the files that
need to be rewritten by users, they have mode 0660. need to be rewritten by users, they have mode 0660.
The filemodes are always checked and corrected during startup.
In the file database editor the default choice was 0 in stead In the file database editor the default choice was 0 in stead
of -. of -.
When a file area is made unavailable in menu 8.4, first the When a file area is made unavailable in menu 8.4, first the

View File

@ -39,6 +39,12 @@ install:
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/etc/maptabs ; \ ${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/etc/maptabs ; \
fi fi
@chmod 0775 ${PREFIX}/etc @chmod 0775 ${PREFIX}/etc
@if [ -f ${PREFIX}/etc/lastcall.data ] ; then \
chmod 0660 ${PREFIX}/etc/lastcall.data ; \
fi
@if [ -f ${PREFIX}/etc/sysinfo.data ] ; then \
chmod 0660 ${PREFIX}/etc/sysinfo.data ; \
fi
@if [ ! -d ${PREFIX}/doc ] ; then \ @if [ ! -d ${PREFIX}/doc ] ; then \
mkdir ${PREFIX}/doc ; \ mkdir ${PREFIX}/doc ; \
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/doc ; \ ${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/doc ; \

View File

@ -100,6 +100,7 @@ install: all
rm -f ${BINDIR}/mbnews rm -f ${BINDIR}/mbnews
ln -s ${BINDIR}/mbfido ${BINDIR}/mbnews ln -s ${BINDIR}/mbfido ${BINDIR}/mbnews
(cd ${PREFIX}; tar xfz ${PACKAGE}-${VERSION}/mbfido/maptabs.tgz; ${CHOWN} ${OWNER}.${GROUP} etc/maptabs/*) (cd ${PREFIX}; tar xfz ${PACKAGE}-${VERSION}/mbfido/maptabs.tgz; ${CHOWN} ${OWNER}.${GROUP} etc/maptabs/*)
chmod 0775 ${PREFIX}/etc
filelist: Makefile filelist: Makefile
BASE=`pwd`; \ BASE=`pwd`; \

Binary file not shown.

View File

@ -270,6 +270,7 @@ void CloseArchive(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -186,6 +186,7 @@ void CloseDomain(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -167,6 +167,7 @@ void CloseFilearea(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -172,6 +172,7 @@ void CloseFilefind(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -185,6 +185,7 @@ void CloseFGroup(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -203,6 +203,7 @@ void CloseFidonet(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -191,6 +191,7 @@ void CloseHatch(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -236,6 +236,7 @@ void CloseLanguage(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -238,6 +238,7 @@ void CloseLimits(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -182,6 +182,7 @@ void CloseMagics(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -277,6 +277,7 @@ void CloseMsgarea(int Force)
return; return;
} }
} }
chmod(fin, 0660);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -195,6 +195,7 @@ void CloseMGroup(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -253,6 +253,7 @@ void CloseModem(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -224,6 +224,7 @@ void CloseNewfiles(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -191,6 +191,7 @@ void CloseNGroup(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -240,6 +240,7 @@ void CloseNoderec(int Force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -185,6 +185,7 @@ void CloseOneline(int force)
return; return;
} }
} }
chmod(fin, 0660);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -216,6 +216,7 @@ void CloseProtocol(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -190,6 +190,7 @@ void CloseService(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -225,6 +225,7 @@ void CloseTicarea(int Force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -257,6 +257,7 @@ void CloseTtyinfo(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -157,6 +157,7 @@ void CloseUsers(int force)
return; return;
} }
} }
chmod(fin, 0660);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }

View File

@ -194,6 +194,7 @@ void CloseVirus(int force)
return; return;
} }
} }
chmod(fin, 0640);
working(1, 0, 0); working(1, 0, 0);
unlink(fout); unlink(fout);
} }