Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix & squirrelmail permissions problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Sun Sep 21, 2003 4:55 pm    Post subject: postfix & squirrelmail permissions problem Reply with quote

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
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sun Sep 21, 2003 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
vinz
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 93
Location: Switzerland

PostPosted: Sun Sep 21, 2003 10:01 pm    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum