Commit fb162737 authored by claes's avatar claes

Set permissions on databases

parent 7d63e233
......@@ -804,6 +804,11 @@ wb_vrep *wb_erep::createVolume(pwr_tStatus *sts, pwr_tVid vid, pwr_tCid cid,
addDb( sts, vrepdb);
MsgWindow::message( 'I', "Database created", vname);
// Set permissions from umask
char cmd[200];
sprintf( cmd, "$pwr_exe/wb_dbchmod.sh %s", vname);
system( cmd);
return vrepdb;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment