[Kolab-devel] Fwd: [pkg-kolab] Kolab shared folder userspace prefix

Mathieu Parent math.parent at gmail.com
Fri Oct 22 23:25:49 CEST 2010


(forwarding upstream: reading the code it seems on purpose, but why?)


---------- Forwarded message ----------
From: Neil Price <nprice at gibb.co.za>
Date: 2010/10/22
Subject: [pkg-kolab] Kolab shared folder userspace prefix
To: pkg-kolab-devel at lists.alioth.debian.org


 Not sure if this is a bug or a feature or if it exists upstream....

Kolab creates shared folders with name "shared.foldername" instead of
the expected "shared/foldername" (with unixhierarchysep: yes)

from /usr/share/perl5/Kolab/Cyrus.pm

sub createUid
{
   my $user = shift;
   my $sf = shift || 0;
   my $seperator = '/';
   my $uidprefix = 'user';
   if ($sf) {
     $seperator = '.';
     $uidprefix = 'shared';
   }
   return $uidprefix . $seperator . $user;
#    return 'user' . ($sf ? '.' : '/') . $user;
}



_______________________________________________
pkg-kolab-devel mailing list
pkg-kolab-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kolab-devel



-- 
Mathieu Parent




More information about the devel mailing list