Read-only error with large scale mean shift

Hi, I cant seem to figure out why this is happening, or find a solution to a previous online query either…

It seems the tool is trying to use a temp file directory (perhaps the working directory?) to write the image onto, but its being told its ‘read-only’.

Is there a way to fix this… ie. change the temp directory, or a workaround?

Orfeo version: OTB7.1.0
Running on Mac OS X


2020-04-16 13:45:20 (INFO) LargeScaleMeanShift: Smoothing step…

2020-04-16 13:45:20 (INFO) LargeScaleMeanShift: Margin of 2001 pixels applied to each tile to stabilized mean shift filtering.

2020-04-16 13:45:20 (WARNING) LargeScaleMeanShift: Margin value exceed the input image size.

2020-04-16 13:45:20 (INFO) LargeScaleMeanShift: Mode Search is disabled.

2020-04-16 13:45:20 (INFO) LargeScaleMeanShift: Number of tiles: 3 x 3

2020-04-16 13:45:20 (INFO) LargeScaleMeanShift: Tile shifting …

2020-04-16 13:46:11 (FATAL) LargeScaleMeanShift: itk::ERROR: GDALImageIO(0x7fd5e44c0650): Attempt to create new tiff file `LMS_Segmentation_0_0_SEG.tif’ failed: Read-only file system

Thanks!

Hello,

How are you using OTB ? (monteverdi ? command line ? QGIS ? …). Also can you provide the input parameter values you used ?

This application writes temporary files in the same directory as the output parameter (either mode.vector.out or mode.raster.out. Are you sure that you have write access to the output directory ?

Cédric