question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meteor 1.6 -> Permission denied

See original GitHub issue

I’m getting permission problems using newer meteord image. Looks like tar doesn’t have permissions to extract files?

App was built on Windows 10.

If I try it on my OSX box it builds and deploys without any problems.

mup.cmd deploy
Building App Bundle Locally

WARNING: The output directory is under your source tree.
         Your generated files may get interpreted as source code!
         Consider building into a different directory instead
         meteor build ../output


Started TaskList: Pushing Meteor App
[172.81.177.153] - Pushing Meteor App Bundle to The Server
[172.81.177.153] - Pushing Meteor App Bundle to The Server: SUCCESS
[172.81.177.153] - Prepare Bundle
[172.81.177.153] x Prepare Bundle: FAILED
	
	-----------------------------------STDERR-----------------------------------
	/es5-ext/test/array/#/exclusion.js: Cannot open: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/fill: Cannot mkdir: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/filter: Cannot mkdir: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/find: Cannot mkdir: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/find-index: Cannot mkdir: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/first-index.js: Cannot open: Permission denied
	tar: bundle/programs/server/npm/node_modules/meteor/matb33_collection-hooks/node_modules/es5-ext/test/array/#/first.js: Cannot open: Permission denied
	tar: bundle/programs/serv
	-----------------------------------STDOUT-----------------------------------
	node-8.4.0-base: Pulling from abernix/meteord
	Digest: sha256:04f44cf999da383d11de77027ced8b70818222c9890a405ce10803af3ee5a642
	Status: Image is up to date for abernix/meteord:node-8.4.0-base
	----------------------------------------------------------------------------

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:31 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
n8orescommented, Nov 26, 2017

I also get the Dockerfile: Permission denied error during the mup deploy process. I am running mup deploy FROM my actual AWS server (logged in as ubuntu).

I am using mup 1.3.6

`[52.64.191.5] - Prepare Bundle node-8.4.0-base: Pulling from abernix/meteord Digest: sha256:04f44cf999da383d11de77027ced8b70818222c9890a405ce10803af3ee5a642 Status: Image is up to date for abernix/meteord:node-8.4.0-base <APP_NAME> bash: line 28: Dockerfile: Permission denied [52.64.191.5] x Prepare Bundle: FAILED

    -----------------------------------STDERR-----------------------------------
    bash: line 28: Dockerfile: Permission denied
    -----------------------------------STDOUT-----------------------------------
    node-8.4.0-base: Pulling from abernix/meteord
    Digest: sha256:04f44cf999da383d11de77027ced8b70818222c9890a405ce10803af3ee5a642
    Status: Image is up to date for abernix/meteord:node-8.4.0-base
    <APP_NAME>
    ----------------------------------------------------------------------------

`

0reactions
aeoneicommented, Jul 12, 2022

If you’re using zodern/meteor as a docker image you need to put the following commands, the first at the beginning of your build instructions, the second at the end.

‘USER root’,

‘USER app’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Impossible to create a new project with Meteor 1.6 - help
Hello Meteor Mentors! I have just uninstalled previous versions of Meteor and downloaded 1.6. And now I cannot create any new projects.
Read more >
Understanding error message from Meteor.js - Stack Overflow
I searched some more on the topic and it appears to be a problem with using sudo to install some packages which meteorite...
Read more >
kestanous:candid - Packosphere
This is a Candid user permissions layer for Meteor JS, inspired by Rails CanCan ... Automatically generate allow/deny for collections; js and html...
Read more >
Development: Meteor error "EACCES: permission denied"
Whenever I run the meteor start commend I jet the following error: user@machine:/mnt/c/Users/user/Rocket.Chat$ meteor npm start > Rocket.
Read more >
Meteor Timber asks Wisconsin Supreme Court to reinstate ...
“Meteor Timber's attempts to obtain a permit have been denied by the courts at every level, yet they appear dead set on destroying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found