(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:
parent
d4759f0dbb
commit
ead51d369e
1 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue