Problem with postinstall.sh
Created by: ZeHiro
After a new install trial failing due too long npm install request, I finished the install by hand :
sudo npm install
then sudo ./node_modules/gulp/bin/gulp.js b && ./postinstall.sh Here is what I got (gulp was run without error) :
chown: changing ownership of ./weboob/requirements.txt': Operation not permitted chown: changing ownership of
./weboob/scripts/accounts.sh': Operation not permitted
chown: changing ownership of ./weboob/scripts/operations.sh': Operation not permitted chown: changing ownership of
./weboob/scripts/install.sh': Operation not permitted
chown: changing ownership of ./weboob/scripts/test.sh': Operation not permitted chown: changing ownership of
./weboob/scripts': Operation not permitted
chown: changing ownership of ./weboob/banks-all.json': Operation not permitted chown: changing ownership of
./weboob/py/accounts.py': Operation not permitted
chown: changing ownership of ./weboob/py/operations.py': Operation not permitted chown: changing ownership of
./weboob/py/lib.py': Operation not permitted
chown: changing ownership of ./weboob/py/connector.py': Operation not permitted chown: changing ownership of
./weboob/py': Operation not permitted
chown: changing ownership of ./weboob/.gitignore': Operation not permitted chown: changing ownership of
./weboob': Operation not permitted
I didn't use cozy-kresus user (sudo -u cozy-kresus) to run this last command as I got write errors on compiling the js client with gulp command.
I think a sudo is missing before launching the scripts (they are run by the controller which has root rights)
command should be in the package.json :
sudo ./node_modules/gulp/bin/gulp.js b && sudo ./postinstall.sh
The distro used in raspbian wheezy (cozy image for RPI2)