[horde] Upgrading.

Arjen de Korte arjen+horde at de-korte.org
Thu Feb 28 10:46:30 UTC 2013


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.

Arjen



More information about the horde mailing list