[GeoNetwork-users] GN3 - File and folder permissions

Hi

I get error when try to upload a file with the metadata.

"Service not available
The service "/geonetwork/srv/eng/naturindex.JPG" does not exist or you don't
have privileges to access it. Return to the search page."

What is the right permission for the folders and files inside
/webapp/geonetwork/x ?

Regards Hóddi

http://geo.abds.is/geonetwork

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

Which version of GeoNetwork are you using?

Related to the folders/files permissions, if you use tomcat the tomcat user
should have privileges to read/write in the data folder, that by default is
in geonetwork/WEB-INF/data.

Regards,
Jose García

On Tue, Jul 14, 2015 at 12:33 PM, hoddih <hoddi@anonymised.com> wrote:

Hi

I get error when try to upload a file with the metadata.

"Service not available
The service "/geonetwork/srv/eng/naturindex.JPG" does not exist or you
don't
have privileges to access it. Return to the search page."

What is the right permission for the folders and files inside
/webapp/geonetwork/x ?

Regards Hóddi

http://geo.abds.is/geonetwork

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

I´m using GeoNetwork 3.0.0 (Updated from 2.x)

Tomcat7
java version: 1.7.0_65
ubuntu: 14.04.1

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215544.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hello
I still get this error and seems not able to upload files!

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215703.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

HI
Updates for this error.

The files uploads to the folder, but the error comes when I try to download
them back from the entry(metadata)

Service not available
The service "/geonetwork/srv/eng/filename" does not exist or you don't have
privileges to access it. Return to the search page.

The URL is :
"geonetwork/srv/eng/service-not-allowed?referer=/geonetwork/srv/eng/Desert.jpg"

Maybe is it some config in the Settings?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215709.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I´m wondering what is right here? See image.

<http://osgeo-org.1560.x6.nabble.com/file/n5215712/gn3_download.jpg&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215712.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

I tried to upload an online resource with an image and from the metadata
view it downloads properly, the link has this format:

http://localhost:8080/geonetwork/srv/eng/resources.get?uuid=ad3667e0-bd13-4cf4-b99d-06267ac35f63&fname=test.png&access=public

Related to the System Configuration I have the same values as you (it's a
vanilla 3.0.1 installation), the only difference I see is that I'm using
the installer with jetty. Not sure if this can be the difference.

I tried in your server and I get this link:

http://http//geo.abds.is//
geonetwork/srv/eng/resources.get?uuid=8b1233d0-96cb-476b-a8c6-7c3609f7e8a5&fname=14_04_potentialOilGas.jpg&access=public

I'm afraid the issue is in the System Configuration > Catalog server, the
value for Host? This value is the IP or server name, but should not have
any http stuff. Update this and check to upload a new file in a metadata.

Regards,
Jose García

On Wed, Jul 15, 2015 at 12:42 PM, hoddih <hoddi@anonymised.com> wrote:

I´m wondering what is right here? See image.

<http://osgeo-org.1560.x6.nabble.com/file/n5215712/gn3_download.jpg&gt;

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215712.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*

HURRA

It's working, Thanks Jose Garcia

The problem was in the "Catalog Server" config. I have put "http://" with
the url

  <http://osgeo-org.1560.x6.nabble.com/file/n5215715/catalog_server.jpg&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GN3-File-and-folder-permissions-tp5215540p5215715.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.