[horde] Upgrading.

Simon Brereton simon.buongiorno at gmail.com
Thu Feb 28 10:54:47 UTC 2013


On 28 February 2013 11:46, Arjen de Korte <arjen+horde at de-korte.org> wrote:
> Citeren Simon Brereton <simon.buongiorno at gmail.com>:
>
>>> While trying to diagnose the issue I came across this in test.php:
>>>
>>> Local File Permissions
>>>
>>> Is /usr/share/horde-beta/lib/../static writable by the web server user?
>>> No
>>> If caching javascript and CSS files by storing them in static files
>>> (HIGHLY RECOMMENDED), this directory must be writable as the user the
>>> web server runs as.
>>>
>>> both lib and static (and I cannot find a static directory in any
>>> subpath of lib) are writeable by the apache server group, but owned by
>>> root.  What are the recommended permissions for these directories?
>>>
>>
>>
>> Thanks Arjen - that fixed the static problem.  I'm not sure why group
>> write permission is not enough,
>
>
> In order to descend into a directory, you will need execute (x) permission
> too. And also note that write (w) permission doesn't mean you can also read
> (r) from a directory. So in order for the server to write and read the
> cached information, it needs to have read+write+execute (rwx) permissions on
> the static directory. This can either be for the apache user or the group it
> belongs to. But only write permission is not enough.


Makes sense.  I had rw but not x as I recall.

Thanks.  Now if only I could fix my real problem.

Simon


More information about the horde mailing list