First you must make sure the files belong to the apache user. In RPM
oriented distros this user is named "apache" while in debian based distros
this is named "www-data". So first you have to run:
chown -R www-data:www-data [campsite_dir]/*
Replace www-data with the proper apache user on your system. If after this
you still get the "not writable" error try:
chmod ug+rw -R [campsite_dir]/*
Replace [campsite_dir] with the directory where you installed campsite.
Mugur
On Mon, Jun 8, 2009 at 5:04 PM, wrote:
> Author: RedMist
> Link: http://code.campware.org/phorum/read.php?8,7180,7180#msg-7180
>
> --------------------------------------------------------------------------------
>
> Hi,
>
> I've recently been burnt a little, with the wrong permission being set on
> my website.
>
> On installation of campsite, it says the document root must be writeable.
>
> Can you give me the correct chmod commands sto set the files and
> directoryies, so that capsite will work, but is still secure.
>
> Thanks,
>
> Red
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>