How to apply user defined operation on multiple cropped sentinel-2 images using gpt script?

In the other thread you said you are sudoer.

Maybe you talk to your system administrator. Maybe they can correct the write permission for the directory.

1 Like

Dear marpet,

actually, i am not sudo. But when i ask for my system administrator. They can not work any more.
thanks

Best

Binbin

Dear marpet,

my system administrator said it is not the permission issue. In the cephfs filesystem, “.snap” is special directory. Could i change the directory “./snap” when i install SNAP software? thanks

Best

Binbin

the detail below

"
As I’ve explained before, it’s not really a permission issue, you just can’t use the .snap directory. That’s why I suggested asking the developers how to use a different directory. Often when installing software, there are configuration options that can be tweaked. In the cephfs filesystem, .snap is a special directory and I don’t know of a way to let you use it in that way."

Ah, know I understand. I didn’t expect that you use a special file system which uses ‘.snap’ as a special directory.
CephFS Snapshots — Ceph Documentation

It is possible to change the directory used by SNAP.
You need to change two files. Both are located in <snap_installation_dir>/etc.
In snap.properties you need to change the property snap.userdir.
For example to: snap.userdir=${USER_HOME}/.esa_snap
Don’t forget to remove the ‘#’ at the beginning of the line.

The snap.conf needs to be changed too.
Here change default_userdir="${HOME}/.snap/system"
to default_userdir="${HOME}/.esa_snap/system"

Afterwards it should work.

2 Likes

thanks a lot.

it works.

Best

Binbin

1 Like