9

Different permissions on TeamCity using bower depending if the user is logged in or not via SSH

view full story
linux-howto

http://stackoverflow.com – Using TeamCity, I am automating the generation of a Flask application that uses Bower to get client-side JS packages. I am getting a different behavior if I am logged into the TeamCity machine via ssh or not. If logged in, everything works and bower retrieves my packages and so on. If not logged in, I get the following error. /usr/local/lib/node_modules/bower/node_modules/tmp/lib/tmp.js:261 [11:49:00][Step 4/5] throw err; [11:49:00][Step 4/5] ^ [11:49:00][Step 4/5] Error: EACCES, permission denied '/home/redrose/.local' [11:49:00][Step 4/5] at Object.fs.mkdirSync (fs.js:642:18 (HowTos)