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
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to