(main): Remove the resetting of file permissions.

This will be prevent some file permissions being changed
unexpectly when running the files command.
This commit is contained in:
Ron Koenderink 2007-03-05 02:03:33 +00:00
parent d4759f0dbb
commit ead51d369e

View file

@ -179,13 +179,9 @@ main(int argc, char *argv[])
for (x = MAXNOC - 1; x >= 0; x--) {
filename = mailbox(buf, x);
close(creat(filename, 0600));
chmod(filename, 0600);
}
close(creat(timestampfil, 0600));
close(creat(annfil, 0600));
chmod(infodir, 0750);
chmod(gamedir, 0770);
chmod(teldir, 0770);
/* create a zero-filled sector file */
memset(&sct, 0, sizeof(sct));