EACCES, permission denied '/tmp'
Opened this issue · 0 comments
So I've been working on a project for half a year or so, that uses cfs:
cfs:access-point@0.1.49
cfs:base-package@0.0.30
cfs:collection@0.5.5
cfs:collection-filters@0.2.4
cfs:data-man@0.0.6
cfs:file@0.1.17
cfs:filesystem@0.1.2
cfs:graphicsmagick@0.0.18
cfs:http-methods@0.0.30
cfs:http-publish@0.0.13
cfs:power-queue@0.9.11
cfs:reactive-list@0.0.9
cfs:reactive-property@0.0.4
cfs:s3@0.1.3
cfs:standard-packages@0.5.9
cfs:storage-adapter@0.2.2
cfs:tempstore@0.1.5
cfs:upload-http@0.0.20
cfs:worker@0.1.4
And it was all working great. I use Linux, and never had a problem. My laptop died a few weeks ago so I got a new one, and installed Arch Linux again, and ever since then when I try to run the exact same project I'm getting this error:
W20160401-19:09:38.165(-3)? (STDERR) throw(ex);
W20160401-19:09:38.165(-3)? (STDERR) ^
W20160401-19:09:38.313(-3)? (STDERR) Error: EACCES, permission denied '/tmp
W20160401-19:09:38.313(-3)? (STDERR) '
W20160401-19:09:38.314(-3)? (STDERR) at Object.fs.mkdirSync (fs.js:654:18)
W20160401-19:09:38.314(-3)? (STDERR) at Function.sync (/home/nick/.meteor/packages/cfs_filesystem/.0.1.2.3tsox++os+web.browser+web.cordova/npm/node_modules/mkdirp/index.js:55:12)
W20160401-19:09:38.314(-3)? (STDERR) at new FS.Store.FileSystem (packages/cfs:filesystem/filesystem.server.js:37:1)
W20160401-19:09:38.315(-3)? (STDERR) at app/lib/collections/images.js:90:36
W20160401-19:09:38.315(-3)? (STDERR) at app/lib/collections/images.js:207:3
W20160401-19:09:38.315(-3)? (STDERR) at /home/nick/Projects/usport/.meteor/local/build/programs/server/boot.js:222:10
W20160401-19:09:38.315(-3)? (STDERR) at Array.forEach (native)
W20160401-19:09:38.315(-3)? (STDERR) at Function._.each._.forEach (/home/nick/.meteor/packages/meteor-tool/.1.1.4.u0knv4++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20160401-19:09:38.316(-3)? (STDERR) at /home/nick/Projects/usport/.meteor/local/build/programs/server/boot.js:117:5
Which is weird because nothing else has problems with my tmp directory, and here are the results of ls -l:
drwxrwxrwt 17 root root 440 Apr 1 19:11 tmp
I've tried pulling my projects source again, in case something may have got corrupted in the file transfer, and same thing. I created another project, and added the cfs packages, and I get the error message referenced in issue #957.
On Windows, I've been able to get a meteor project up and running perfectly using cfs, but the project I have been working on is not compatible with the Windows filesystem.