0

I'm trying to "rewrite" a config file somewhere on my server
if ($return = exec("sudo mv.sh '/etc/my/config.cfg' '/etc/my/config.cfg.bak'",$output)){
echo 'Yaaay';
}
else {
print_r($output);
print_r($return);
die('Couldn\'t move original config file');
}
the dir /etc/my is owned by the ...