LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2014, 02:47 AM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 229

Rep: Reputation: Disabled
writing errors with a download.... why


hello - i have serious errors with the download of a osmosis file

see the terminal-code - sorry for presenting this in German...

Code:
Kann nicht nach »»niedersachsen-latest.osm.pbf«« schreiben (Keine Berechtigung).
martin@linux-70ce:~/osmosis> ./osmconvert hamburg-latest.osm.pbf --all-to-nodes -o=hamburgsport.o5m
osmconvert Error: could not open output file: hamburgsport.o5m
martin@linux-70ce:~/osmosis> ./osmfilter hamburgsport.o5m --keep="amenity=sport" -o=hamburgsport.o5m
osmfilter Error: could not open input file: hamburgsport.o5m
martin@linux-70ce:~/osmosis> ./osmconvert hamburgsport.o5m --csv="@id @lon @lat sport" --csv-headline -o=hamburgsport.csv
osmconvert Error: could not open input file: hamburgsport.o5m
martin@linux-70ce:~/osmosis> wget download.geofabrik.de/openstreetmap/europe/germany/bremen-latest.osm.pbf
--2014-04-21 08:35:34--  http://download.geofabrik.de/openstreetmap/europe/germany/bremen-latest.osm.pbf
Auflösen des Hostnamen »download.geofabrik.de (download.geofabrik.de)«... 144.76.34.132, 144.76.4.22, 5.9.158.99
Verbindungsaufbau zu download.geofabrik.de (download.geofabrik.de)|144.76.34.132|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently
Platz: http://download.geofabrik.de/europe/germany/bremen-latest.osm.pbf[folge]
--2014-04-21 08:35:34--  http://download.geofabrik.de/europe/germany/bremen-latest.osm.pbf
Wiederverwendung der bestehenden Verbindung zu download.geofabrik.de:80.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 10937291 (10M) [application/octet-stream]
bremen-latest.osm.pbf: Keine Berechtigung

Kann nicht nach »»bremen-latest.osm.pbf«« schreiben (Keine Berechtigung).
martin@linux-70ce:~/osmosis>
what kind of errors do we have here
 
Old 04-21-2014, 04:01 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
It seems you don't have write permissions in the current working directory. What are the outputs of the following commands:
Code:
ls -ld ~/osmosis
stat ~/osmosis
 
Old 04-21-2014, 04:01 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? May be you downloaded the files with a Windows© OS ?
And thus changed the permissions ?

Please try : $ chmod 0644 *osm.pbf

About downloading : Not all sites will accept wget.
Just click the file you want to download,
or type e.g.bremen-latest.osm.pbf in Google, and get ...
http://download.geofabrik.de/europe/...latest.osm.pbf

niedersachsen-latest.osm.pbf → http://download.geofabrik.de/europe/...ersachsen.html
→ → http://download.geofabrik.de/europe/...latest.osm.pbf
As bz2 http://download.geofabrik.de/europe/...latest.osm.bz2

-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Seagate USB HD showing I/O errors after writing operations r41d3n Linux - Hardware 2 11-26-2013 06:15 AM
Trying to download a game and getting some SDL-mixer errors? JPJ526 Linux - Newbie 4 12-10-2008 12:12 PM
rtorrent giving permission errors for writing, ubuntu sever scribble Linux - Software 1 09-18-2008 12:55 AM
download errors in djview on gutsy raphtor Debian 3 09-03-2008 04:22 PM
CD writing errors... it used to work fine. ngomong Linux - Hardware 5 06-15-2002 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration