Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • ACLs are good as long as you are not working on an NFSv4 mount. Commented May 25, 2016 at 13:22
  • The find solution about doubled my time, chmoding inside a docker container. Commented Dec 12, 2017 at 14:55
  • I really wanted to use ACL's to speed up my docker builds, but unfortunately it appears they have no effect in the Dockerfile. stackoverflow.com/questions/59043049/… I then tried using setfacl --recursive commands on startup, but that takes just as long. It appears that the saving is in automatic setting of permissions on file creation. I'm new to ACL's though so I might have missed something. Commented Mar 10, 2021 at 19:21
  • @Programster I am not very familiar with docker. I guess that the ACL changes are somehow not detected as change thus maybe no new image layer is created (that could be checked). I suggest to modify the setfacl call so that it also changes the basic permissions, e.g.: setfacl -m d:o::rwx,o::rwx /opt Commented Mar 10, 2021 at 23:44