tilt-dev / tilt-dev/tilt

I would like to be able to sync files when the default user of a container has no access to these files

Open
#5,879 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

Describe the Feature You Want

In production, the user running code has readonly access on source code. So I would like to ensure that I have the same configuration in development environment.
I my Dockerfile, I have some commands to chmod access to the files sync by Tilt, and to a create and change the default user of the container.
I read in the Tilt documentation that the default user of the container must have access to the files so that Tilt is able to sync files.

Current Behavior

Tilt fails to sync files

Why Do You Want This?

I don't want the user of my container have more rights than in production to ensure that testing done in my development containers have the same behavior that in production.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Dockerfile and the Tilt documentation describing the requirement that the container's default user can access synced files. Reproduce the failure with a container user lacking access, then trace the file-sync entry point. Done means files sync successfully without requiring the container's default user to have broader source-file access.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.