[JDEV] Problems with open() calls?

Thomas D. Charron tcharron at my-deja.com
Fri Aug 6 13:44:01 CDT 1999


  Perhaps it's just me, but I've notices that repeatedly, jabbertransport and etherx do funny things with file permisions on logfiles and username.offline.xml files..  Out of curiousity, could this be something funny with using the open function call vs fopen?  Here is an example:

-rw---Sr--   1 tcha     tcha          742 Aug  6 12:18 error.log
-rw---Sr--   1 tcha     tcha          198 Aug  6 12:18 etherx.log

  Now, it shouldn't be looking like that, but it does..  Is it possible that O_CREAT, etc, flags passed are being trounced by another include file somewhere?

  For that matter what file DEFINES O_CREAT..  I just tried to grep for it, but to no avail..

  Any ideas?
---
Thomas Charron


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.




More information about the JDev mailing list