Cannot access files in docker as a non-root user 777 permissions + faclsDocker non-root secure?Downloading docker image for transfer to non-internet-connected machineDocker cannot access volumesLimit user to access only 'docker inspect'?Docker cannot access Webserver on hostCannot login on Zabbix docker installationsetting up correct permissions between containers in dockerwho is killing my docker container?ubuntu 16.04 cannot start docker when userns is configured for IPA directory (non-local) user“docker-compose up” as root user or non-root user?

Spicket or spigot?

What does 2>&1 | tee mean?

For people who believe in Jesus and not the devil, what happend in the desert?

One folder two different locations on ubuntu 18.04

What's the safest way to inform a new user of their password on my web site?

What is the olden name for sideburns?

Generate and graph the Recamán Sequence

What shortcut does ⌦ symbol in Camunda macOS app indicate and how to invoke it?

Transitive verb + interrupter + object?

How do I find and plot the intersection of these three surfaces?

Did Chinese school textbook maps (c. 1951) "depict China as stretching even into the central Asian republics"?

I played my first (rapid) tournament recently and I wanted to calculate my ELO

can’t run a function against EXEC

Finding or mounting boot partition to create /boot/ssh

How fast can a ship with rotating habitats be accelerated?

Zombie diet, why humans?

Was it really unprofessional of me to leave without asking for a raise first?

Why isn’t the tax system continuous rather than bracketed?

Why does this function call behave sensibly after calling it through a typecasted function pointer?

What is the line crossing the Pacific Ocean that is shown on maps?

Symbol for "not absolutely continuous" in Latex

Why do I have to press the shutter button twice on my Canon 6d Mark II?

Can you sign using a digital signature itself?

Three column layout



Cannot access files in docker as a non-root user 777 permissions + facls


Docker non-root secure?Downloading docker image for transfer to non-internet-connected machineDocker cannot access volumesLimit user to access only 'docker inspect'?Docker cannot access Webserver on hostCannot login on Zabbix docker installationsetting up correct permissions between containers in dockerwho is killing my docker container?ubuntu 16.04 cannot start docker when userns is configured for IPA directory (non-local) user“docker-compose up” as root user or non-root user?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a docker container with a web app. Apache cannot read to the log folder. The apache user has specific rwx on the facl folder. I set 0777 on the folder recursivelyinside and outside the container. Inside the container only root can read the files. Outside everyone can. Inside the container an ls from the apache user looks like:



-????????? ? ? ? ? ? access_log
-????????? ? ? ? ? ? app.log
-????????? ? ? ? ? ? error_log


I ran a strace, which produced nothing I could find useful. Here is an strace of open,access,lstat for completeness.



[www-data@a377ecbb9c76 www]$ strace -e open,access,lstat ls -l /var/www/logs/
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib64/libselinux.so.1", O_RDONLY) = 3
open("/lib64/librt.so.1", O_RDONLY) = 3
open("/lib64/libcap.so.2", O_RDONLY) = 3
open("/lib64/libacl.so.1", O_RDONLY) = 3
open("/lib64/libc.so.6", O_RDONLY) = 3
open("/lib64/libdl.so.2", O_RDONLY) = 3
open("/lib64/libpthread.so.0", O_RDONLY) = 3
open("/lib64/libattr.so.1", O_RDONLY) = 3
open("/proc/filesystems", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/locale/en_US.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_TIME/coreutils.mo", O_RDONLY) = 3
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib64/libnss_files.so.2", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
open("/var/www/logs/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
lstat("/var/www/logs/error_log", 0xf17800) = -1 EACCES (Permission denied)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 4
ls: cannot access /var/www/logs/error_logopen("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
: Permission denied
lstat("/var/www/logs/app.log", 0xf178c0) = -1 EACCES (Permission denied)
ls: cannot access /var/www/logs/app.log: Permission denied
lstat("/var/www/logs/access_log", 0xf17980) = -1 EACCES (Permission denied)
ls: cannot access /var/www/logs/access_log: Permission denied
total 0
open("/etc/localtime", O_RDONLY) = 3
-????????? ? ? ? ? ? access_log
-????????? ? ? ? ? ? app.log
-????????? ? ? ? ? ? error_log
+++ exited with 1 +++









share|improve this question




























    0















    I have a docker container with a web app. Apache cannot read to the log folder. The apache user has specific rwx on the facl folder. I set 0777 on the folder recursivelyinside and outside the container. Inside the container only root can read the files. Outside everyone can. Inside the container an ls from the apache user looks like:



    -????????? ? ? ? ? ? access_log
    -????????? ? ? ? ? ? app.log
    -????????? ? ? ? ? ? error_log


    I ran a strace, which produced nothing I could find useful. Here is an strace of open,access,lstat for completeness.



    [www-data@a377ecbb9c76 www]$ strace -e open,access,lstat ls -l /var/www/logs/
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/lib64/libselinux.so.1", O_RDONLY) = 3
    open("/lib64/librt.so.1", O_RDONLY) = 3
    open("/lib64/libcap.so.2", O_RDONLY) = 3
    open("/lib64/libacl.so.1", O_RDONLY) = 3
    open("/lib64/libc.so.6", O_RDONLY) = 3
    open("/lib64/libdl.so.2", O_RDONLY) = 3
    open("/lib64/libpthread.so.0", O_RDONLY) = 3
    open("/lib64/libattr.so.1", O_RDONLY) = 3
    open("/proc/filesystems", O_RDONLY) = 3
    open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
    open("/usr/share/locale/locale.alias", O_RDONLY) = 3
    open("/usr/share/locale/en_US.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_TIME/coreutils.mo", O_RDONLY) = 3
    open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
    lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
    lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
    open("/etc/nsswitch.conf", O_RDONLY) = 3
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/lib64/libnss_files.so.2", O_RDONLY) = 3
    open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
    open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
    open("/var/www/logs/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    lstat("/var/www/logs/error_log", 0xf17800) = -1 EACCES (Permission denied)
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 4
    ls: cannot access /var/www/logs/error_logopen("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    : Permission denied
    lstat("/var/www/logs/app.log", 0xf178c0) = -1 EACCES (Permission denied)
    ls: cannot access /var/www/logs/app.log: Permission denied
    lstat("/var/www/logs/access_log", 0xf17980) = -1 EACCES (Permission denied)
    ls: cannot access /var/www/logs/access_log: Permission denied
    total 0
    open("/etc/localtime", O_RDONLY) = 3
    -????????? ? ? ? ? ? access_log
    -????????? ? ? ? ? ? app.log
    -????????? ? ? ? ? ? error_log
    +++ exited with 1 +++









    share|improve this question
























      0












      0








      0








      I have a docker container with a web app. Apache cannot read to the log folder. The apache user has specific rwx on the facl folder. I set 0777 on the folder recursivelyinside and outside the container. Inside the container only root can read the files. Outside everyone can. Inside the container an ls from the apache user looks like:



      -????????? ? ? ? ? ? access_log
      -????????? ? ? ? ? ? app.log
      -????????? ? ? ? ? ? error_log


      I ran a strace, which produced nothing I could find useful. Here is an strace of open,access,lstat for completeness.



      [www-data@a377ecbb9c76 www]$ strace -e open,access,lstat ls -l /var/www/logs/
      access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
      open("/etc/ld.so.cache", O_RDONLY) = 3
      open("/lib64/libselinux.so.1", O_RDONLY) = 3
      open("/lib64/librt.so.1", O_RDONLY) = 3
      open("/lib64/libcap.so.2", O_RDONLY) = 3
      open("/lib64/libacl.so.1", O_RDONLY) = 3
      open("/lib64/libc.so.6", O_RDONLY) = 3
      open("/lib64/libdl.so.2", O_RDONLY) = 3
      open("/lib64/libpthread.so.0", O_RDONLY) = 3
      open("/lib64/libattr.so.1", O_RDONLY) = 3
      open("/proc/filesystems", O_RDONLY) = 3
      open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
      open("/usr/share/locale/locale.alias", O_RDONLY) = 3
      open("/usr/share/locale/en_US.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_TIME/coreutils.mo", O_RDONLY) = 3
      open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
      lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
      lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
      open("/etc/nsswitch.conf", O_RDONLY) = 3
      open("/etc/ld.so.cache", O_RDONLY) = 3
      open("/lib64/libnss_files.so.2", O_RDONLY) = 3
      open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
      open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
      open("/var/www/logs/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
      lstat("/var/www/logs/error_log", 0xf17800) = -1 EACCES (Permission denied)
      open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 4
      ls: cannot access /var/www/logs/error_logopen("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      : Permission denied
      lstat("/var/www/logs/app.log", 0xf178c0) = -1 EACCES (Permission denied)
      ls: cannot access /var/www/logs/app.log: Permission denied
      lstat("/var/www/logs/access_log", 0xf17980) = -1 EACCES (Permission denied)
      ls: cannot access /var/www/logs/access_log: Permission denied
      total 0
      open("/etc/localtime", O_RDONLY) = 3
      -????????? ? ? ? ? ? access_log
      -????????? ? ? ? ? ? app.log
      -????????? ? ? ? ? ? error_log
      +++ exited with 1 +++









      share|improve this question














      I have a docker container with a web app. Apache cannot read to the log folder. The apache user has specific rwx on the facl folder. I set 0777 on the folder recursivelyinside and outside the container. Inside the container only root can read the files. Outside everyone can. Inside the container an ls from the apache user looks like:



      -????????? ? ? ? ? ? access_log
      -????????? ? ? ? ? ? app.log
      -????????? ? ? ? ? ? error_log


      I ran a strace, which produced nothing I could find useful. Here is an strace of open,access,lstat for completeness.



      [www-data@a377ecbb9c76 www]$ strace -e open,access,lstat ls -l /var/www/logs/
      access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
      open("/etc/ld.so.cache", O_RDONLY) = 3
      open("/lib64/libselinux.so.1", O_RDONLY) = 3
      open("/lib64/librt.so.1", O_RDONLY) = 3
      open("/lib64/libcap.so.2", O_RDONLY) = 3
      open("/lib64/libacl.so.1", O_RDONLY) = 3
      open("/lib64/libc.so.6", O_RDONLY) = 3
      open("/lib64/libdl.so.2", O_RDONLY) = 3
      open("/lib64/libpthread.so.0", O_RDONLY) = 3
      open("/lib64/libattr.so.1", O_RDONLY) = 3
      open("/proc/filesystems", O_RDONLY) = 3
      open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
      open("/usr/share/locale/locale.alias", O_RDONLY) = 3
      open("/usr/share/locale/en_US.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_TIME/coreutils.mo", O_RDONLY) = 3
      open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
      lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
      lstat("/var/www/logs/", st_mode=S_IFDIR) = 0
      open("/etc/nsswitch.conf", O_RDONLY) = 3
      open("/etc/ld.so.cache", O_RDONLY) = 3
      open("/lib64/libnss_files.so.2", O_RDONLY) = 3
      open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
      open("/etc/group", O_RDONLY|O_CLOEXEC) = 3
      open("/var/www/logs/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
      lstat("/var/www/logs/error_log", 0xf17800) = -1 EACCES (Permission denied)
      open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 4
      ls: cannot access /var/www/logs/error_logopen("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
      : Permission denied
      lstat("/var/www/logs/app.log", 0xf178c0) = -1 EACCES (Permission denied)
      ls: cannot access /var/www/logs/app.log: Permission denied
      lstat("/var/www/logs/access_log", 0xf17980) = -1 EACCES (Permission denied)
      ls: cannot access /var/www/logs/access_log: Permission denied
      total 0
      open("/etc/localtime", O_RDONLY) = 3
      -????????? ? ? ? ? ? access_log
      -????????? ? ? ? ? ? app.log
      -????????? ? ? ? ? ? error_log
      +++ exited with 1 +++






      docker setfacl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 22 '16 at 21:50









      Justin DearingJustin Dearing

      7877 silver badges30 bronze badges




      7877 silver badges30 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I got the clue to answer this on stackoverflow.



          My docker containers are not configured for ACL support, and having the ACLs on them caused the issue. The command setfacl -Rb logs/ from outside the container fixed it.






          share|improve this answer



























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f785671%2fcannot-access-files-in-docker-as-a-non-root-user-777-permissions-facls%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I got the clue to answer this on stackoverflow.



            My docker containers are not configured for ACL support, and having the ACLs on them caused the issue. The command setfacl -Rb logs/ from outside the container fixed it.






            share|improve this answer





























              0














              I got the clue to answer this on stackoverflow.



              My docker containers are not configured for ACL support, and having the ACLs on them caused the issue. The command setfacl -Rb logs/ from outside the container fixed it.






              share|improve this answer



























                0












                0








                0







                I got the clue to answer this on stackoverflow.



                My docker containers are not configured for ACL support, and having the ACLs on them caused the issue. The command setfacl -Rb logs/ from outside the container fixed it.






                share|improve this answer















                I got the clue to answer this on stackoverflow.



                My docker containers are not configured for ACL support, and having the ACLs on them caused the issue. The command setfacl -Rb logs/ from outside the container fixed it.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 23 '17 at 11:33









                Community

                1




                1










                answered Jun 22 '16 at 21:50









                Justin DearingJustin Dearing

                7877 silver badges30 bronze badges




                7877 silver badges30 bronze badges



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f785671%2fcannot-access-files-in-docker-as-a-non-root-user-777-permissions-facls%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos

                    Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?