Commit 5bf1f5f1 authored by claes's avatar claes

Fix to chmod of db not needed any more

parent c0c64254
...@@ -804,11 +804,6 @@ wb_vrep *wb_erep::createVolume(pwr_tStatus *sts, pwr_tVid vid, pwr_tCid cid, ...@@ -804,11 +804,6 @@ wb_vrep *wb_erep::createVolume(pwr_tStatus *sts, pwr_tVid vid, pwr_tCid cid,
addDb( sts, vrepdb); addDb( sts, vrepdb);
MsgWindow::message( 'I', "Database created", vname); 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; return vrepdb;
} }
......
...@@ -1583,11 +1583,6 @@ ldh_WbLoad( ldh_tSession session, char *loadfile) ...@@ -1583,11 +1583,6 @@ ldh_WbLoad( ldh_tSession session, char *loadfile)
db.close(); db.close();
erep->merep()->copyFiles( db_name); erep->merep()->copyFiles( db_name);
// Set permissions from umask
char cmd[200];
sprintf( cmd, "$pwr_exe/wb_dbchmod.sh %s", db_name);
system( cmd);
delete vdbs; delete vdbs;
} }
catch ( wb_error& e) { catch ( wb_error& e) {
...@@ -1615,11 +1610,6 @@ ldh_WbLoad( ldh_tSession session, char *loadfile) ...@@ -1615,11 +1610,6 @@ ldh_WbLoad( ldh_tSession session, char *loadfile)
db.close(); db.close();
erep->merep()->copyFiles( db_name); erep->merep()->copyFiles( db_name);
// Set permissions from umask
char cmd[200];
sprintf( cmd, "$pwr_exe/wb_dbchmod.sh %s", db_name);
system( cmd);
delete vwbl; delete vwbl;
} }
catch ( wb_error& e) { catch ( wb_error& e) {
......
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