-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2008-06-04, at 0052, Tom Collins wrote:
On Jun 3, 2008, at 12:48 AM, Maurizio Rottin wrote:

this is the point, you are right!
i always forget that centos adds users directory with mask 700
drwx------ 9 vpopmail vchkpw       4096 15 feb 11:43 vpopmail

a chmod 755 does the job!

You really only need to add the world execute bit (I'm pretty sure) to the directory.

true, 0711 would technically work just as well, but i would go with 0755 anyway, since the only sensitive information is the "domains" directory (for obvious reasons) and maybe one or two files in the "etc" directory. i don't see the harm in leaving the rest of it open, especially the "doc" directory (although the people who have shell access on my machine are, for the most part, people who are running their own mail servers and may want to compare their own server to how i'm doing things.)

maurizio, i would suggest you look at the "vfixpermissions" script on my web site. it would have fixed this particular problem, although you would have lost out on the experience of troubleshooting, finding, and fixing the problem for yourself (i.e. you learned more by doing it by hand, which i feel is always a good thing.)

i also think it's a good starting point when debugging vpopmail- related issues in general... and one person told me that reading it helped them to understand how shell scripts worked in general, for what that may be worth to you (i was glad i could help him- i think he should have known the stuff already, but the fact that he was trying to learn gives me hope.)

http://qmail.jms1.net/scripts/#vfixpermissions


- --------------------------------------------------------
| John M. Simpson  --  KG4ZOW  --  Programmer At Large |
| http://www.jms1.net/                 <[EMAIL PROTECTED]> |
- --------------------------------------------------------
|   Hope for America  --  http://www.ronpaul2008.com/  |
- --------------------------------------------------------





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkhGL3EACgkQEB9RczMG/PtRPwCcDwbWxfzRiiNHQ90bUw0txhw8
4sYAnjjYF8LPSBA+0/LY0bDMW2hO3yXa
=88OD
-----END PGP SIGNATURE-----

!DSPAM:48462f7832351929954420!

Reply via email to