[Owncloud] Need feedback for apptemplate_advanced and app tutorial
Bernhard Posselt
nukeawhale at gmail.com
Wed Dec 5 23:43:09 UTC 2012
On 12/05/2012 11:11 PM, Diederik de Haas wrote:
> On Wednesday 05 December 2012 23:01:37 Bernhard Posselt wrote:
>>> Why is the following line needed? (good comment though!)
>>> sudo chmod a+rw /var/www # only do this on your dev machine!
>>>
>>> You probably don't want to find out your app isn't working when the whole
>>> world does NOT have write permissions (ie on deployment).
>> This is needed for the git clone command below. You dont want to run it
>> as root.
> Then wouldn't a "sudo chmod o+rw /var/www" before and "sudo chmod o-rw /var/www"
> after the git clone command suffice?
>
> Another way could be to do it all in a user owned directory and use sth like
> this:
> $ cat /etc/apache2/conf.d/owncloud.local.conf
> Alias /owncloud /opt/web/apps/owncloud
> <Directory /opt/web/apps/owncloud/>
> Options SymLinksIfOwnerMatch
> AllowOverride All
> Order allow,deny
> allow from all
> </Directory>
>
> Where /opt/web/apps/owncloud/ is owned by the user.
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
Thank you, I've add the o+rw o-rw thing, seemed to be nice and easy :)
More information about the Owncloud
mailing list