Security: fix 0777 directory permissions to 0755.

This commit is contained in:
James Turner
2013-12-19 14:56:23 +00:00
parent 1ecccd43d4
commit 16fa4d1d17
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -616,7 +616,7 @@ writeProperties (const string &file, const SGPropertyNode * start_node,
bool write_all, SGPropertyNode::Attribute archive_flag)
{
SGPath path(file.c_str());
path.create_dir(0777);
path.create_dir(0755);
ofstream output(file.c_str());
if (output.good()) {