Bug report #6185

Can't write pyramids to separate .ovr file if raster file is read-only

Added by Alister Hood over 11 years ago. Updated about 5 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Rasters
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:15499

Description

Make a jpeg file read-only.
Load the jpeg into QGIS.
Right-click the jpeg layer in the TOC
Choose Properties>Pyramids
Select a pyramid resolution and click the "build pyramids" button.

You will get an error message: "Write access denied>Adjust the file permissions and try again".
But the file permissions on the jpeg file should not matter, because the pyramids would be saved in a separate .ovr file!
I believe the same should apply regardless of the image format, as long as the option "Build pyramids internally if possible" is not selected.

History

#1 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#2 Updated by Jürgen Fischer almost 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#3 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#4 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

#5 Updated by Alister Hood about 5 years ago

  • Resolution changed from end of life to worksforme
  • Description updated (diff)

Seems to have been fixed at some point.

Also available in: Atom PDF