You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by daggett on 6 Sep 2013 08:52 UTC as Trac ticket #1489322
Hi
My provider has banned direct execution of scripts in the RCM's installation directory.
So when I try to execute the update script "intallto.sh /my/rcm/directory" it fails at the end saying :
-su: bin/update.sh: permission denied
The script itself can not be executed, I must execute the interpreter that will execute the script.
So I had to add the interpreter's name "php " to line 74 :
system("cd $target_dir && php bin/update.sh --version=$oldversion");
Then I had to add the same interpreter's name "php " to /my/rcm/directory/bin/update.sh on lines 149 and 157 :
149: system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
157: system("php " . INSTALL_PATH . 'bin/indexcontacts.sh');
I think this should work on every systems, even the ones with execution restrictions.
Reported by daggett on 6 Sep 2013 08:52 UTC as Trac ticket #1489322
Hi
My provider has banned direct execution of scripts in the RCM's installation directory.
So when I try to execute the update script "intallto.sh /my/rcm/directory" it fails at the end saying :
-su: bin/update.sh: permission denied
The script itself can not be executed, I must execute the interpreter that will execute the script.
So I had to add the interpreter's name "php " to line 74 :
system("cd $target_dir && php bin/update.sh --version=$oldversion");
Then I had to add the same interpreter's name "php " to /my/rcm/directory/bin/update.sh on lines 149 and 157 :
149: system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
157: system("php " . INSTALL_PATH . 'bin/indexcontacts.sh');
I think this should work on every systems, even the ones with execution restrictions.
Bye for now,
Daggett
Migrated-From: http://trac.roundcube.net/ticket/1489322
The text was updated successfully, but these errors were encountered: