Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.3

Bug #16668 Mbox doesn't work in suid/sgid scripts
Submitted: 2009-10-01 20:02 UTC
From: vaceletm Assigned: cweiske
Status: Closed Package: Mail_Mbox (version 0.6.0)
PHP Version: 5.1.6 OS: RHEL5
Roadmaps: (Not assigned)    

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 4 + 22 = ?

 [2009-10-01 20:02 UTC] vaceletm (Manuel Vacelet)
Description: ------------ As Mbox rely on file_exists to test file existance, when the php script is called through a suid/sgid program, the file existance test is done with real UID/GID instead of the effective one. I attach a patch that uses is_file that fix the problem. See


 [2009-10-01 20:08 UTC] vaceletm (Manuel Vacelet)
 [2009-10-01 20:10 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Verified
 [2009-10-09 21:33 UTC] cweiske (Christian Weiske)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cweiske
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at Fixed in 0.6.1