[Owncloud] Need feedback for apptemplate_advanced and app tutorial

Diederik de Haas didi.debian at cknow.org
Wed Dec 5 22:11:17 UTC 2012


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.



More information about the Owncloud mailing list