[Tickets #12975] tmpdir problems not logged

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 17 08:24:46 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12975
------------------------------------------------------------------------------
  Ticket             | 12975
  Created By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | tmpdir problems not logged
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_5_1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-02-17 08:24) wrote:

I configured confiig/conf.php: $conf['tmpdir'] = '/var/cache/horde';
chown root:root /var/cache/horde
chmod u=rwx,g=,o=wx /var/cache/horde

The test.php let this config pass. Horde5 does not log anything  
either. The directory is filled with various cache_* files and a  
horde_cache_gc file.

But you cannot send attachments. The message is "Content-Type:  
text/plain; charset=UTF-8; format=flowed; DelSp=Yes" for both, the  
physical mesage in Sent folder and the message sent. The GUI shows the  
attachment. So, the sender does not see anything wrong.

If I change the permission of the tmpdir to o=rwx, both the messages  
physically in the Sent folder and the sent message get "Content-Type:  
multipart/mixed; boundary="=_0zwrHbyMiqc5WlfTEt5QFw1"" and do contain  
the attachment.

Now, there is a subdir in /vfar/cache/horde names ".horde" with  
"imp/compose" subdir.

1) IMHO, there should be an error logged in the compose window that  
the attachment has not been physically sent.

2) test.php should check the permission of tmpdir

3) Why is read-permission required at all? And causing that problem.

For the record: I've changed the ownership / permission of tmpdir so:
chown www-data /var/cache/horde
chmod 0700 /var/cache/horde





More information about the bugs mailing list