Make sure modes on new skeleton files are correct.

This commit is contained in:
jkh 1999-11-05 11:04:30 +00:00
parent 1336332945
commit 1ac5d40f33
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);
}
}