Dear all,
I downloaded this version of ROundcube and followed the install guide.
I noticed that the directory has a few executable shell scripts: # cd /xxx/roundcube/bin # ls -l total 32 -rwxr-xr-x 1 root root 2688 Sep 25 15:03 cleandb.sh -rwxr-xr-x 1 root root 2782 Sep 25 15:03 decrypt.sh -rwxr-xr-x 1 root root 1334 Mar 5 2010 jsshrink.sh -rwxr-xr-x 1 root root 547 Mar 5 2010 jsunshrink.sh -rwxr-xr-x 1 root root 3238 Sep 29 10:30 msgexport.sh -rwxr-xr-x 1 root root 2474 Sep 29 10:30 msgimport.sh -rwxr-xr-x 1 root root 4862 Sep 25 15:03 update.sh
All static content (and roundcube included) is on a mount point that has noexec,nosuid which means that it cannot be executed.
I have copied the scripts into /usr/local/bin, where these can be excueted from, but would like to know what I have to change in the Roundcube configuration to ensure that Roundcube still finds these.
Does anyone know?
Best regards, J.
List info: http://lists.roundcube.net/users/ BT/9b404e9e
I noticed that the directory has a few executable shell scripts: # cd /xxx/roundcube/bin # ls -l total 32 -rwxr-xr-x 1 root root 2688 Sep 25 15:03 cleandb.sh -rwxr-xr-x 1 root root 2782 Sep 25 15:03 decrypt.sh -rwxr-xr-x 1 root root 1334 Mar 5 2010 jsshrink.sh -rwxr-xr-x 1 root root 547 Mar 5 2010 jsunshrink.sh -rwxr-xr-x 1 root root 3238 Sep 29 10:30 msgexport.sh -rwxr-xr-x 1 root root 2474 Sep 29 10:30 msgimport.sh -rwxr-xr-x 1 root root 4862 Sep 25 15:03 update.sh
All static content (and roundcube included) is on a mount point that has noexec,nosuid which means that it cannot be executed.
what about : $ php <script>.sh (or similar, I do not know if php works exactly as bash in this point) Andreas _______________________________________________ List info: http://lists.roundcube.net/users/ BT/9b404e9e
Op 7-1-2011 10:38, Andreas Dick schreef:
I noticed that the directory has a few executable shell scripts: # cd /xxx/roundcube/bin # ls -l total 32 -rwxr-xr-x 1 root root 2688 Sep 25 15:03 cleandb.sh -rwxr-xr-x 1 root root 2782 Sep 25 15:03 decrypt.sh -rwxr-xr-x 1 root root 1334 Mar 5 2010 jsshrink.sh -rwxr-xr-x 1 root root 547 Mar 5 2010 jsunshrink.sh -rwxr-xr-x 1 root root 3238 Sep 29 10:30 msgexport.sh -rwxr-xr-x 1 root root 2474 Sep 29 10:30 msgimport.sh -rwxr-xr-x 1 root root 4862 Sep 25 15:03 update.sh
All static content (and roundcube included) is on a mount point that has noexec,nosuid which means that it cannot be executed.
what about : $ php<script>.sh (or similar, I do not know if php works exactly as bash in this point) Andreas _______________________________________________ List info: http://lists.roundcube.net/users/ BT/292bfdb9
Not trying to hijack this thread... but what do these script do? Are they to be used interactively, in other scripts or do the belong to the day to day operation of RC?
Egbert Jan {NL) _______________________________________________ List info: http://lists.roundcube.net/users/ BT/9b404e9e
On 07.01.2011 10:58, Egbert Jan van den Bussche wrote:
Not trying to hijack this thread... but what do these script do? Are they to be used interactively, in other scripts or do the belong to the day to day operation of RC?
These are administrative tasks. They're not used by Roundcube UI. You can put them where you like, but you'll need to change a path to Roundcube sources to use them. It's one line:
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
Am Freitag 07 Januar 2011, um 11.11:01 schrieb A.L.E.C:
On 07.01.2011 10:58, Egbert Jan van den Bussche wrote:
Not trying to hijack this thread... but what do these script do? Are they to be used interactively, in other scripts or do the belong to the day to day operation of RC?
These are administrative tasks. They're not used by Roundcube UI. You can put them where you like, but you'll need to change a path to Roundcube sources to use them. It's one line:
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
but, if the scripts are called out of RC, must they really be able to run on the command line, interpreted of a shell? Or are they anyway called and interpreded from RCs PHP? Because then it would not make sense to move them somewhere, the noexec/nosuid flags does not matter then because php is the executed interpreter...
Andreas _______________________________________________ List info: http://lists.roundcube.net/users/ BT/9b404e9e
Dear all,
I would like to know how can I get a global catalog on Roundcube.
Actually, I update my account and them insert manually to others (a really slave job) by SQL command:
INSERT INTO contacts(del,name,email,vcard,user_id) SELECT del,name,email,vcard,'USERID_OF_OTHER_USERS' FROM contacts WHERE user_id = 1;
Where: user_id = 1 its me.
Thanks,
Mateus Belluzzo Prefeitura de Telêmaco Borba/PR - Brazil
List info: http://lists.roundcube.net/users/ BT/9b404e9e
2011/1/11 Mateus Belluzzo mateus@pmtb.pr.gov.br:
Dear all,
I would like to know how can I get a global catalog on Roundcube.
You can use a LDAP as Global catalog ($rcmail_config['ldap_public']). If you don't have one, install and add entries.