First, check under which user tomcat is running. For linux, this can be done
with

ps -ef | grep java

After you get the user, make

chown -R <user> /deploy/geoserver/tomcat_6.0.29/webapps/geoserver/data

On linux, this changes the owner of the GEOSERVER_DATA_DIR recursivly.

Remark: The user you use for administer Geoserver has nothing to do  
with the unix file permissions.

Hope this helps.
Christian




Zitat von appela <[email protected]>:

> Hi all,
>
> We are experiencing a problem I have not faced before.
>
> Example:
> I have a user role as administrator within the admin UI
> I can create a new Store just fine.
> If I go back to make a change to the Store, say update max connections or
> something like that I get an error saying
> java.lang.IllegalArgumentException: Error saving data store:Error persisting
> DataStoreInfoImpl[gerpostal] to
> /deploy/geoserver/tomcat_6.0.29/webapps/geoserver/data/workspaces/globalpostal/gerpostal/datastore.xml
>
> The user that 'owns' the datastore.xml file is the user that manages the
> machine that geoserver is running on, while the folders created within the
> gerpostal folder belong to someone else.
>
> What dictates who owns what when geoserver generates the folders and files
> upon creation of stores, layers, etc?
>
> This is becoming troublesome since we can't edit anything we have already
> created.
>
> thanks in advance.
>
> Tony
>
> --
> View this message in context:   
> http://osgeo-org.1803224.n2.nabble.com/User-permissions-issue-unix-install-tp6936693p6936693.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to