cubicweb #342893 cw-ctl newcube fails with system install [resolved]

as demonstrated by the following transcript, cubicweb-ctl newcube does not create cubes in CW_CUBES_PATH:

[nico@volans ~]$ export CW_CUBES_PATH=~/lib/cubes
[nico@volans ~]$ export CW_REGISTRY=~/etc/cubicweb.d/
[nico@volans ~]$ export CW_INSTANCE_DATA=$CW_REGISTRY
[nico@volans ~]$ export CW_RUNTIME=/tmp
[nico@volans ~]$ cubicweb-ctl list
CubicWeb version: 3.1.4
Detected mode: installed
[...]
No cubes available in /usr/share/cubicweb/cubes/
Available applications (/home/nico/etc/cubicweb.d):
[...]
[nico@volans ~]$ cubicweb-ctl newcube toto
Enter a short description for your cube: toto
Traceback (most recent call last):
[...]
OSError: [Errno 13] Permission denied: '/usr/share/cubicweb/cubes/toto'

using cubicweb-ctl newcube -d ~/lib/cubes cubename works and the cube is created, but then it can not be listed with cubicweb-ctl list and I am not sure it can be used to create an instance.

prioritynormal
typebug
done in3.3.3
load0.200
load left0.000
closed by<not specified>