diff options
author | jkh <jkh@FreeBSD.org> | 1999-11-05 11:04:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-11-05 11:04:30 +0000 |
commit | 1ac5d40f3376b0172b019eb6b13c074c12081ed3 (patch) | |
tree | 9d81a3546cce508ad0155d4c35f20d70a950190f /usr.sbin/sysinstall/config.c | |
parent | 1336332945b85ab8346c55efe6ebeed59ce39085 (diff) | |
download | FreeBSD-src-1ac5d40f3376b0172b019eb6b13c074c12081ed3.zip FreeBSD-src-1ac5d40f3376b0172b019eb6b13c074c12081ed3.tar.gz |
Make sure modes on new skeleton files are correct.
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 3d52d0f..32d1161 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -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); } } |