roundcube permission problem

Discussion in 'General' started by pawan, Aug 19, 2012.

  1. pawan

    pawan Member HowtoForge Supporter

    I am using a single installation of roundcube for all mywebsites. (current version 8.1)

    Initially I had squirrelmail insatalled, subsequently I changed it to RCmail, but the folder is still named as squirremail for RCmail files in /usr/share/squirrelmail

    All the files & folders are owned by root including /squirrelmail

    I am trying to view the attachments in the mail using the roundcube plugin "cloudview", but on clicking the attachment, I see a error message like "an error occured"
    error log for website reads like this

    PHP:
    [Mon Aug 20 02:13:03 2012] [error] [client 192.168.0.1PHP Warning:  Error writing to log file /usr/share/squirrelmail/logs/errorsPlease check permissions in /usr/share/squirrelmail/program/include/main.inc on line 1965refererhttp://cbsindia.in/webmail/?_task=mail&_action=preview&_uid=15670&_mbox=INBOX&_framed=1
    [Mon Aug 20 02:13:03 2012] [error] [client 192.168.0.1PHP Notice:  Deprecated hook nameimap_init -> storage_init in /usr/share/squirrelmail/program/include/main.inc on line 2120refererhttp://cbsindia.in/webmail/?_task=mail&_action=preview&_uid=15670&_mbox=INBOX&_framed=1
    [Mon Aug 20 02:13:10 2012] [error] [client 192.168.0.1PHP Warning:  Error writing to log file /usr/share/squirrelmail/logs/errorsPlease check permissions in /usr/share/squirrelmail/program/include/main.inc on line 1965refererhttp://cbsindia.in/webmail/?_task=mail&_action=preview&_uid=15670&_mbox=INBOX&_framed=1
    [Mon Aug 20 02:13:10 2012] [error] [client 192.168.0.1PHP Notice:  Deprecated hook nameimap_init -> storage_init in /usr/share/squirrelmail/program/include/main.inc on line 2120refererhttp://cbsindia.in/webmail/?_task=mail&_action=preview&_uid=15670&_mbox=INBOX&_framed=1
    [Mon Aug 20 02:13:10 2012] [error] [client 192.168.0.1PHP Warning:  file_put_contents(/usr/share/squirrelmail/temp/cloudviewTmp_50314fdef0b0a.jpg): failed to open streamPermission denied in /usr/share/squirrelmail/plugins/cloudview/lib/pixlrService.php on line 28refererhttp://cbsindia.in/webmail/?_task=mail&_action=preview&_uid=15670&_mbox=INBOX&_framed=1
    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess the cludview plugin needs some kind of temporary directory to decode the attachments and this directory has to be writable then for the user that runs roundcube. Maybe you find some morde detailed info in the docs of that plugin.
     

Share This Page