Hello,
when I want to specify Space ID while mounting Onedata, and the Space doesn't exists in the zone, the oneclient still succeeds and returns an exit code of 0.
/usr/bin/oneclient --host <any_oneprovider_from_your_onezone> --token <valid_token> --space-id <any_non-existent_space-id> /mnt/onedata-test
Connecting to provider '<oneprovider>:443' using session ID: '6106131564434193333'...
Getting configuration...
Oneclient has been successfully mounted in '/mnt/onedata-test'.
❯ echo $?
0
❯ ll /mnt/onedata-test
total 4.0K
drwxr-xr-x 1 root root 0 Oct 12 2021 ./
drwxr-xr-x 3 root root 4.0K Dec 13 2023 ../
The command seems to succeed, but the mountpoint doesn't contain any space. However, the return code is 0. I would expect non-zero return code in this case or an error message. This behavior can complicate usage, especially when using scripts.
Oneclient: 21.02.8
FUSE library: 3.2
Hello,
when I want to specify Space ID while mounting Onedata, and the Space doesn't exists in the zone, the oneclient still succeeds and returns an exit code of 0.
The command seems to succeed, but the mountpoint doesn't contain any space. However, the return code is 0. I would expect non-zero return code in this case or an error message. This behavior can complicate usage, especially when using scripts.