multi-user use fails due to permissions of /tmp/bower #743

Closed
austinche opened this Issue Aug 8, 2013 · 1 comment

Comments

Projects
None yet
2 participants

User 1 runs bower install. /tmp/bower is created and left around and is owned by user 1. User 2 runs bower install and gets permission errors. Using bower 1.1.0.

$ bower install jquery
bower jquery#*              not-cached git://github.com/components/jquery.git#*
bower jquery#*                 resolve git://github.com/components/jquery.git#*
bower jquery#*                  EACCES EACCES, mkdir '/tmp/bower/jquery-7627-QCT2oy'

Stack trace:
Error: EACCES, mkdir '/tmp/bower/jquery-7627-QCT2oy'

Console trace:
Trace
    at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:66:17)
    at Logger.updateNotifier.packageName (/usr/local/lib/node_modules/bower/bin/bower:108:18)
    at Logger.EventEmitter.emit (events.js:95:17)
    at Logger.emit (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
    at /usr/local/lib/node_modules/bower/lib/commands/install.js:25:16
    at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:713:24)
    at /usr/local/lib/node_modules/bower/node_modules/q/q.js:739:30
    at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:979:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:661:41)
    at /usr/local/lib/node_modules/bower/node_modules/q/q.js:543:44
Owner

satazor commented Aug 8, 2013

This has been fixed a few days ago in https://github.com/bower/config/commit/10e3e194187eaf6c8796904e5094682dcc7622cf .

Will be available as soon as a new bower release comes out which will be very soon.

satazor closed this Aug 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment