[packaging] [Bug 1793] New: In roundcubemail-plugins-kolab odfviewer/files should be a symlink to respective /var/lib

Kolab Bugzilla noreply at kolab.org
Wed Apr 24 07:04:28 CEST 2013


https://issues.kolab.org/show_bug.cgi?id=1793

            Bug ID: 1793
           Summary: In roundcubemail-plugins-kolab odfviewer/files should
                    be a symlink to respective /var/lib
    Classification: Kolab Server
           Product: Kolab Server
           Version: 3.0.0
          Hardware: PC
                OS: Debian Wheezy
            Status: NEW
          Severity: minor
          Priority: P3
         Component: packaging - apt - debian
          Assignee: packaging-bugs at lists.kolabsys.com
          Reporter: fenuksuh at ya.ru
       Ticket Type: ---

On Centos it is:
[root at kolab2 ~]# ls -lda /usr/share/roundcubemail/plugins/odfviewer/files
lrwxrwxrwx. 1 root root 54 Apr  8 15:35
/usr/share/roundcubemail/plugins/odfviewer/files ->
../../../../../var/lib/roundcubemail/plugins/odfviewer
[root at kolab2 ~]# ls -la /usr/share/roundcubemail/plugins/odfviewer/files/
total 12
drwxr-x---. 2 apache apache 4096 Apr  8 15:35 .
drwxr-xr-x. 4 root   root   4096 Apr  8 15:35 ..
-rwxr-x---. 1 apache apache   80 Feb 14 22:22 .htaccess

On Debian:
root at kolab1 ~ # ls -lda /usr/share/roundcubemail/plugins/odfviewer/files
drwxr-xr-x  2 root root 4.0K Jan 11 15:34 files
root at kolab1 ~ # ls -la /usr/share/roundcubemail/plugins/odfviewer/files/
total 12K
drwxr-xr-x 2 root root 4.0K Jan 11 15:34 .
drwxr-xr-x 3 root root 4.0K Jan 11 15:34 ..
-rw-r--r-- 1 root root   76 Oct  5  2012 .htaccess

So, on Debian plugin does not work, since it can not copy files to that folder
and then render them.

Temporary fix would be:
# mv -v /usr/share/roundcubemail/plugins/odfviewer/files
/var/lib/roundcubemail/plugins/odfviewer && ln -s
/var/lib/roundcubemail/plugins/odfviewer
/usr/share/roundcubemail/plugins/odfviewer/files && chown -R www-data:www-data
/var/lib/roundcubemail/plugins/odfviewer/ && chmod -R o-rwx
/var/lib/roundcubemail/plugins/odfviewer/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20130424/2ae895db/attachment.htm>


More information about the packaging-bugs mailing list