mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
Make sure modes on new skeleton files are correct.
This commit is contained in:
parent
13e3316372
commit
bbf0b709cd
3 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue