[horde] Permissions, etc.

Erling Preben Hansen erling at eph.dk
Fri Mar 7 09:06:30 UTC 2014


  Citat af Erling Preben Hansen <erling at eph.dk>:

> Citat af Simon B <simon.buongiorno at gmail.com>:
>
>> 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
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
>> horde-unsubscribe at lists.horde.org
>
> do a sudo chgrp www-data
> and sudo chmod -R g + rw
> on horde/config and /tmp if thats what you are using for those 2 dir's
> /erling
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org

Sorry forgot that centos problaly runs webserver as another user than
ubuntu.
So to find out wich group who needs read access run:
lsof -i | grep :http
3rd column is the webserver name.


More information about the horde mailing list