Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#152 Error opening ../data/user.pref

closed-works-for-me
nobody
None
5
2001-01-14
2001-01-08
yavor shahpasov
No

Trying to login I get this message, creataing an empy user.pref file in the data dir solves the problem but any valid user without that file in data gets this message. the data dir is writable by the apache user. I'm using apache 1.14 php4 and exchange 6 for the imap server.

yavo@itena.com.cy

Discussion

  • Tyler Akins
    Tyler Akins
    2001-01-09

    This is likely a permissions error. Assuming your web server runs as user 'nobody' and group 'nogroup' run

    chown nobody.nogroup data

    Then, since we want only the web server to access the data directory, try

    chmod 700 data

    to set the permissions correctly for the directory. Your values might differ -- check the apache documentation and consult a local guru if needed. (We might need more than just writeable -- I think we need readable, and executable is one of those I just throw in whenever.

     
  • Luke Ehresman
    Luke Ehresman
    2001-01-14

    • status: open --> closed-works-for-me