[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss] authentication problem - file permissions
From: |
Kevin Bonner |
Subject: |
Re: [tpop3d-discuss] authentication problem - file permissions |
Date: |
Tue, 23 Sep 2003 13:30:50 -0400 |
User-agent: |
KMail/1.5.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 23 September 2003 08:12, Adam Jackson wrote:
> SELECT CONCAT('/var/mail/virtual/', 'forzda.com.au','/', 'admin'),
> CONCAT('{crypt}', crypt), 'mail', 'maildir'
> FROM users WHERE id = 'admin' AND domain = 'forzda.com.au'
>
> drwx------ 5 forzda hosting 4096 Sep 23 21:50 admin
>
> auth-mysql-mail-group: hosting
The SQL query says to setuid to the mail user. tpop3d config says to use
group perms of hosting. So, when a successful connection/auth is made,
tpop3d would drop permissions to that of mail:hosting. Your directory is
owned by forzda, so the user mail can't access it. Running 'chown mail
/var/mail/virtual/forzda.com.au/admin' should make it work.
Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/cINO/9i/ml3OBYMRAlzgAJ4+HfRPAsvfQbtlzxgvNhCLwz1UogCeJCbs
hk2z4ugw8WdYAJUDK9wGATc=
=qDNk
-----END PGP SIGNATURE-----