Make sure modes on new skeleton files are correct.
This commit is contained in:
parent
1336332945
commit
1ac5d40f33
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user