View previous topic :: View next topic |
Author |
Message |
vinz Tux's lil' helper
Joined: 11 Aug 2002 Posts: 93 Location: Switzerland
|
Posted: Sun Sep 21, 2003 4:55 pm Post subject: postfix & squirrelmail permissions problem |
|
|
hi.
i switched my MTA from qmail to postfix.
ive set up postfix by virt-mta howto [http://www.gentoo.org/doc/en/virt-mail-howto.xml]
does anyone has a good solution for the /home/vmail directory?
about 3 users (apache, bin, vmail) are writing around in there... and they keep stealing the file permissions from each other... ive put the apache and bin user both into the vmail group, but they create the new files with no group read/write permissions...
thanks |
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Sun Sep 21, 2003 6:18 pm Post subject: |
|
|
the following commands might help
Code: | chmod 2775 /home/vmail
find /home/vmail -type f -exec chmod 0664 {} ';'
find /home/vmail -type d -exec chmod 2775 {} ';' |
_________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
vinz Tux's lil' helper
Joined: 11 Aug 2002 Posts: 93 Location: Switzerland
|
Posted: Sun Sep 21, 2003 10:01 pm Post subject: |
|
|
i figured it out with strace, thanks anyway
in the mysql users table, the uid/gid to be the one of the vmail user... the mysql structure in the howto isnt documented at all |
|
Back to top |
|
|
|