# Docker\_dev image broken for users other than UID 1000

**URL:** <https://meta.discourse.org/t/docker-dev-image-broken-for-users-other-than-uid-1000/71694>\
**Category:** Development\
**Created:** [October 9, 2017, 5:18pm UTC](https://meta.discourse.org/t/docker-dev-image-broken-for-users-other-than-uid-1000/71694 "2017-10-09T17:18:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 9, 2017, 5:18pm UTC](https://meta.discourse.org/t/docker-dev-image-broken-for-users-other-than-uid-1000/71694/1 "2017-10-09T17:18:28Z")

</div>

I saw recently that the docker\_dev image had been updated, and I was hoping that would solve the problems I’ve been having, but there’s some kind of permissions error:

```plaintext
Migrating database...
rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - tmp
/src/config/boot.rb:16:in `<top (required)>'
/src/config/application.rb:1:in `require'
/src/config/application.rb:1:in `<top (required)>'
/src/Rakefile:5:in `require'
/src/Rakefile:5:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - tmp
/src/config/boot.rb:16:in `<top (required)>'
/src/config/application.rb:1:in `require'
/src/config/application.rb:1:in `<top (required)>'
/src/Rakefile:5:in `require'
/src/Rakefile:5:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
Creating admin user...
rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - tmp
/src/config/boot.rb:16:in `<top (required)>'
/src/config/application.rb:1:in `require'
/src/config/application.rb:1:in `<top (required)>'
/src/Rakefile:5:in `require'
/src/Rakefile:5:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)

```

I’ve been trying to run an importer in a production environment and have been getting similar errors, that seem to have to do with not being able to create TMP files, which I can’t make sense of.

Edit: Well, darn. It worked just fine on my development machine, but not on the customer’s machine where I’m trying to use it.

Edit: Somehow `./discourse/tmp` doesn’t exist and the script is getting run as some user other than root.

---

_[View the full topic](https://meta.discourse.org/t/docker-dev-image-broken-for-users-other-than-uid-1000/71694)._
