Make sure modes on new skeleton files are correct.

This commit is contained in:
Jordan K. Hubbard 1999-11-05 11:04:30 +00:00
parent 13e3316372
commit bbf0b709cd
3 changed files with 3 additions and 0 deletions

View file

@ -475,6 +475,7 @@ write_root_xprofile(char *str)
fp = fopen(*cp, "w");
if (fp) {
fwrite(str, 1, len, fp);
fchmod(fileno(fp), 0755);
fclose(fp);
}
}

View file

@ -475,6 +475,7 @@ write_root_xprofile(char *str)
fp = fopen(*cp, "w");
if (fp) {
fwrite(str, 1, len, fp);
fchmod(fileno(fp), 0755);
fclose(fp);
}
}

View file

@ -475,6 +475,7 @@ write_root_xprofile(char *str)
fp = fopen(*cp, "w");
if (fp) {
fwrite(str, 1, len, fp);
fchmod(fileno(fp), 0755);
fclose(fp);
}
}