Files
floci/docs
Vũ Thế Huy b4c012fba4 fix(ecs): apply EFS access point PosixUser and CreationInfo to task volumes (#5606)
* fix(ecs): apply EFS access point PosixUser and CreationInfo to task volumes

An ECS task mounting EFS through an access point ignored the access
point's own settings, so the volume stayed root:root 0755 and a non-root
task could not write to it. Resolve the access point from EfsService and
initialise the volume root from RootDirectory.CreationInfo, and run the
container as PosixUser (uid:gid plus secondary gids). Each part falls
back independently to floci.storage.efs.*. An access point on another
file system, or with incomplete CreationInfo/PosixUser, rejects the launch.

Owner ids use long so unsigned 32-bit POSIX ids are not narrowed.

Closes #5480

* fix(ecs): attach PosixUser groups as supplementary groups instead of replacing container user

Preserve the container definition or image user when mounting an EFS access point, and attach the PosixUser gid and secondary gids as supplementary groups instead of overriding the container user.

Also stabilize ElbV2PreserveHostHeaderIntegrationTest socket connection to avoid public DNS resolution timeouts in CI.

* fix(ecs): validate CreationInfo permissions and filter null secondary GIDs

* revert(elbv2): revert listener test wait and loopback address change

* fix(ecs): share octal permissions check with ContainerLifecycleManager
2026-10-15 12:01:04 -04:00
..
2026-03-15 17:43:56 -05:00