<div dir="ltr">Hi Amedeo,<div><br></div><div>updatelayers should run as a normal user as it doesn't write any file to disk, it will only register the data available in geoserver into the geonode db.</div><div>Your error seems more to be related on geonode - gesoserver setup.  Do you have any other information on this error?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-25 17:02 GMT+02:00 Amedeo Fadini <span dir="ltr"><<a href="mailto:amefad@gmail.com" target="_blank">amefad@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody...<br>
<br>
In my instance of Geonode (Ubuntu 14.40 installed via apt-get I'd like<br>
to publish data from other databases than geonode-data, and soon sql<br>
views also. So I published my layers from geoserver and then ran<br>
geonode update-layers but I've experienced e trouble in modifying<br>
styles (403 forbidden error)<br>
<br>
So I think that the  geonode updatelayers command should be executed<br>
by user www-data I launched it sometime as root and seems that now<br>
there are wrong permissions inside /var/www/geonode folder...<br>
<br>
- with which user I must run the comand updatelayers? this ubuntu<br>
installation doesn't allow make su www-data<br>
- what are the righ privileges  for the geonode folders?<br>
<br>
Thanks a lot.<br>
<span class="HOEnZb"><font color="#888888"><br>
Amedeo Fadini<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>