Possible Bug with sqmail recognition of user 'http' instead of 'httpd'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul,

	I'm either crazy (possible), or I think squirrelmail 1.5 svn (rev. 13613) is
having trouble distinguishing between apache running as user 'http' and not
'httpd'. I have a number of installs on openSuSE where user and group are
wwwrun:www and everything is fine there. I am working on an install on
archlinux where the apache(httpd) user and group are http:http (no 'd').

	Upon login, the following error is received:

ERROR
Could not create initial preference file! /usr/local/share/sqmail/data/ should
be writable by user httpd. Please contact your system administrator and report
this error.
Go to the login page

	Note: sqmail is looking for user 'httpd'.

	phpinfo() and /etc/passwd and /etc/group show apache2 is running as:
User/Group http(33)/33. Just to check, I set all permissions under
/usr/local/share/sqmail to 0777 (crazy - world writable permissions) and still,
squirrelmail will not start, but gives the same error:

ERROR
Could not create initial preference file! /usr/local/share/sqmail/data/ should
be writable by user httpd. Please contact your system administrator and report
this error.
Go to the login page

	Again, squirrelmail is trying to write as user 'httpd' not 'http' and I guess
squirrel is checking the user and group and finding neither is 'httpd' and
stopping.

	Let me know if I can run tests or try a patch for you. I'm more than happy to
do it. I can't explain why it runs fine on openSuSE with user/group wwwrun/www
, but won't run on arch even with the data dir set to 0777 with user/group of
http??


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux