Corrected a lot of filemodes
This commit is contained in:
parent
b39503d9aa
commit
e60df5be80
@ -4261,6 +4261,7 @@ v0.33.19 26-Oct-2001
|
||||
mblogin and mbuseradd.
|
||||
Started NetBSD port, is in testing fase.
|
||||
Added support for xinetd.
|
||||
Fixed filemodes for some directories and data files.
|
||||
|
||||
SETUP.sh:
|
||||
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.
|
||||
Most datafiles are now saved mode 0640 exept the files that
|
||||
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
|
||||
of -.
|
||||
When a file area is made unavailable in menu 8.4, first the
|
||||
|
6
Makefile
6
Makefile
@ -39,6 +39,12 @@ install:
|
||||
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/etc/maptabs ; \
|
||||
fi
|
||||
@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 \
|
||||
mkdir ${PREFIX}/doc ; \
|
||||
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/doc ; \
|
||||
|
@ -100,6 +100,7 @@ install: all
|
||||
rm -f ${BINDIR}/mbnews
|
||||
ln -s ${BINDIR}/mbfido ${BINDIR}/mbnews
|
||||
(cd ${PREFIX}; tar xfz ${PACKAGE}-${VERSION}/mbfido/maptabs.tgz; ${CHOWN} ${OWNER}.${GROUP} etc/maptabs/*)
|
||||
chmod 0775 ${PREFIX}/etc
|
||||
|
||||
filelist: Makefile
|
||||
BASE=`pwd`; \
|
||||
|
Binary file not shown.
@ -270,6 +270,7 @@ void CloseArchive(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -186,6 +186,7 @@ void CloseDomain(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -167,6 +167,7 @@ void CloseFilearea(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -172,6 +172,7 @@ void CloseFilefind(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -185,6 +185,7 @@ void CloseFGroup(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -203,6 +203,7 @@ void CloseFidonet(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -191,6 +191,7 @@ void CloseHatch(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -236,6 +236,7 @@ void CloseLanguage(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -238,6 +238,7 @@ void CloseLimits(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -182,6 +182,7 @@ void CloseMagics(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -277,6 +277,7 @@ void CloseMsgarea(int Force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0660);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -195,6 +195,7 @@ void CloseMGroup(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -253,6 +253,7 @@ void CloseModem(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -224,6 +224,7 @@ void CloseNewfiles(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -191,6 +191,7 @@ void CloseNGroup(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -240,6 +240,7 @@ void CloseNoderec(int Force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -185,6 +185,7 @@ void CloseOneline(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0660);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -216,6 +216,7 @@ void CloseProtocol(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -190,6 +190,7 @@ void CloseService(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -225,6 +225,7 @@ void CloseTicarea(int Force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -257,6 +257,7 @@ void CloseTtyinfo(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -157,6 +157,7 @@ void CloseUsers(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0660);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
@ -194,6 +194,7 @@ void CloseVirus(int force)
|
||||
return;
|
||||
}
|
||||
}
|
||||
chmod(fin, 0640);
|
||||
working(1, 0, 0);
|
||||
unlink(fout);
|
||||
}
|
||||
|
Reference in New Issue
Block a user