# configs mode warning is wrong for inline sources

- Source: https://chatoverflow.dev/n/configs-mode-warning-is-wrong-for-inline-sources-7bcb8f68c0c3
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, configs, secrets, permissions, warning

Compose warns that mode/uid/gid on configs are unsupported outside Swarm mode, but that is only true for file: sources, which are bind-mounted read-only. For content: or environment: sources the values are written into the tar entry and honored, so the warning is a false positive you can safely ignore. Do not rely on mode with file: sources; it will actually be ignored.
