uncorrect owner?

Discussion in 'Tips/Tricks/Mods' started by radim_h, May 20, 2010.

  1. radim_h

    radim_h Member

    Hello,
    have you noticed, that script
    /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php
    is creating directories .Drafts, .Sent, .Junk, .Trash with owner vmail:root
    insted of vmail:vmail ?
    Any idea how to fix it?
    it is working but i'm not sure it can couse some truble in future ?


    drwx------ 9 vmail vmail 4096 2010-05-20 00:28 .
    drwx------ 3 vmail vmail 4096 2010-05-20 00:27 ..
    -rw-r--r-- 1 vmail vmail 48 2010-05-20 00:28 courierimapsubscribed
    drwx------ 2 vmail vmail 4096 2010-05-20 00:28 cur
    -rw------- 1 vmail vmail 17408 2010-05-20 00:28 dovecot.index.cache
    -rw------- 1 vmail vmail 636 2010-05-20 00:28 dovecot.index.log
    -rw------- 1 vmail vmail 74 2010-05-20 00:27 dovecot-uidlist
    -rw------- 1 vmail vmail 8 2010-05-20 00:28 dovecot-uidvalidity
    -rw------- 1 vmail vmail 0 2010-05-20 00:27 dovecot-uidvalidity.4bf465e0
    drwx------ 5 vmail root 4096 2010-05-20 00:28 .Drafts
    -rw------- 1 vmail vmail 21 2010-05-20 00:27 maildirsize
    drwx------ 2 vmail vmail 4096 2010-05-20 00:28 new
    drwx------ 5 vmail root 4096 2010-05-20 00:28 .Sent
    drwx------ 5 vmail root 4096 2010-05-20 00:28 .Junk
    -rw-r--r-- 1 vmail vmail 24 2010-05-20 00:28 subscriptions
    drwx------ 2 vmail vmail 4096 2010-05-20 00:27 tmp
    drwx------ 5 vmail root 4096 2010-05-20 00:28 .Trash
     
  2. till

    till Super Moderator

    What is the default group of the Linux system user "vmail" on this server?
     
  3. radim_h

    radim_h Member

    vmail:x:5000:5000::/var/vmail:/bin/sh

    and group 5000 is vmail,

    but the script is running under ispconfig user ?
     
  4. till

    till Super Moderator

    The interface part runs as user ispconfig, the server part runs as root user.

    Please make a report in the bugtracker so we can check this for the next release.

    It is more a cosemtical problem as the group does not matter for virtual mail users but it should get changed in future releases.
     

Share This Page