> At 06:09 PM 12/2/2004, you wrote:
>>Execute permissions on directories means that users can change into the
>>directory.  It has no effect on whether the files inside are executable.
>>Most versions of PHP write their session files to /tmp, so SquirrelMail
>>will require it if that's how your PHP is setup.  The data directory is
>>where settings are kept.  You need both directories to have the execute
>>bit set so SquirrelMail can write files there.
>>
>>Seth.
>>Scott Kopel said:
>> > I have been using Squirrelmail for a few years with no problems.
>> > I am currently using version 1.4.0
>> > imap server is uw webserver is apache 1.3.27 a few days ago I found in
>> the
>> > /tmp directory and executable file named "b"
>> > ... which was owned by apache user
>> > I couldn't tell what the file was doing so I deleted it and changed
>> the
>> > permissions to 666 on the /tmp directory.. ie not executable.. when I
>> did
>> > this I found that users couldn't login to squirrelmail so it seems
>> that
>> > squirrelmail requires apache to have execute permission on the /tmp
>> and on
>> > squrrrelmail/data directories. but in my case at least it seems that
>> > apache can write to those files and execute whatever... can anyone
>> shed
>> > any light on this problem? is there anyway to run squirrelmail without
>> > execute permission on the directories /tmp and squirrelmail/data? or
>> is
>> > there any way to keep apache from writing files to these directories
>> and
>> > executing them? thanks for any help
>
> when I turn on safe_mode in php.ini, I get the following error during SM
> login attempt
>
> Error opening ../data/default_pref
> Default preference file not found or not readable!
> Please contact your system administrator and report this error.
>

You must understand the way safe mode works.

If file is not owned by same user, that owns script used to access file,
safe mode denies access to file.

http://www.php.net/features.safe-mode
http://www.squirrelmail.org/wiki/en_US/SafeMode

-- 
Tomas


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to