set correct options oreder for mkdir call

master
Max N. Boyarov 10 years ago
parent 9325df9e52
commit 59e7a8ddaf

@ -341,7 +341,7 @@ int session_set_inbound(void)
} */
log("inbound: %s", buf);
state.inbound = (char*)xstrcpy(buf);
snprintf( buf, PATH_MAX+30, "/bin/mkdir -p %s -m 700", state.inbound ); /* 30 additional chars allowed */
snprintf( buf, PATH_MAX+30, "/bin/mkdir -p -m 700 %s", state.inbound ); /* 30 additional chars allowed */
system( buf );
}
else

Loading…
Cancel
Save