[horde] Permissions, etc.

seanmh72 at gmail.com seanmh72 at gmail.com
Fri Mar 7 08:24:58 UTC 2014


Hello Simon,

Ok, so I think I took a couple steps back….

Now, for some reason I am getting "Cannot write to cache directory /tmp” and I am not able to get into Horde at all…..argh!!!


As for your other questions:


I installed Horde via root and everything under /var/www/ is set to root:root, so I am not sure what I am missing on this front.


I did have Squirrelmail setup and it was working before and the basic Apache page shows, so I believe this part is working well.


I need to look at the storage part, but I did setup MySQL when I ran the webmail-setup script at the beginning.


Thanks for the help!

Sean








Sent from Windows Mail





From: Simon B
Sent: ‎Thursday‎, ‎March‎ ‎6‎, ‎2014 ‎11‎:‎53‎ ‎PM
To: seanmh72 at gmail.com
Cc: horde at lists.horde.org






On 7 Mar 2014 08:32, <seanmh72 at gmail.com> wrote:
>
>
> Hello All,
>
> I am fairly close to getting Horde (which is AWESOME) up and running.
>
>
>
>
> I am on Centos 6.5 and I am running the latest (as of 3/6/2014) of Horde.
>
>
>
>
> I am able to log in and I am able to see emails for the single user I have setup so far.
>
>
>
>
> The 2 issues I have are the following:
>
>
>
>
> Every time I try to update Horde Configuration, I get a permission denied error.  It simply cannot write to the temp files or the actual horde config file.


To do this, these config files need to be writable by whatever webserver (user) you are running.  For me, it's www-data.

However, this is also a security risk and I prefer to generate the config using the GUI and paste it in using a text editor and a sudoer.


> When trying to delete emails from within my mailbox, I get failed to open stream: Permission denied [pid 1429 on line 136 of "/usr/share/pear/Horde/Cache/Storage/File.php"] within the /etc/log/messages file.

What storage have you set up?  If it's file based then your webserver (user) will need rw permissions.  I think the default is sql, which I'd stick with unless you have a reason not to.


> I installed Horde with root privileges and have not made any other changes.
>
>
>
>
> I am running Postfix and Dovecot for my email servers (they are installed in “basic setup”).  I have maildir=~/Maildir for each user and as mentioned before, the user I have can “see” his generated emails from telnet.
>
>
>
>
> I think I am really close to having this up and running, I just cannot figure out the permissions…….

Simon


More information about the horde mailing list