HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
boxboat
fixuid
Go2021–2021
boxboat / fixuid

fixuid

Go binary to change Docker container user/group and file permissions at runtime

3Distinct people
3Mentions
0Explicit recommenders
534GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Go binary to change Docker container user/group and file permissions at runtime

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2021-05-31 18:03:10 UTC to 2021-06-01 05:41:22 UTC.

012021-05-31 18:00:00 UTC to 2021-05-31 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 31, 18:002021-05-31 19:00:00 UTC to 2021-05-31 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-31 20:00:00 UTC to 2021-05-31 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-31 21:00:00 UTC to 2021-05-31 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-31 22:00:00 UTC to 2021-05-31 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-31 23:00:00 UTC to 2021-06-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 31, 23:002021-06-01 00:00:00 UTC to 2021-06-01 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 01:00:00 UTC to 2021-06-01 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 02:00:00 UTC to 2021-06-01 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 03:00:00 UTC to 2021-06-01 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 04:00:00 UTC to 2021-06-01 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 05:00:00 UTC to 2021-06-01 06:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 1, 05:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 31, 18:002021-05-31 18:00:00 UTC2021-05-31 19:00:00 UTC101
May 31, 19:002021-05-31 19:00:00 UTC2021-05-31 20:00:00 UTC000
May 31, 20:002021-05-31 20:00:00 UTC2021-05-31 21:00:00 UTC000
May 31, 21:002021-05-31 21:00:00 UTC2021-05-31 22:00:00 UTC000
May 31, 22:002021-05-31 22:00:00 UTC2021-05-31 23:00:00 UTC000
May 31, 23:002021-05-31 23:00:00 UTC2021-06-01 00:00:00 UTC101
Jun 1, 00:002021-06-01 00:00:00 UTC2021-06-01 01:00:00 UTC000
Jun 1, 01:002021-06-01 01:00:00 UTC2021-06-01 02:00:00 UTC000
Jun 1, 02:002021-06-01 02:00:00 UTC2021-06-01 03:00:00 UTC000
Jun 1, 03:002021-06-01 03:00:00 UTC2021-06-01 04:00:00 UTC000
Jun 1, 04:002021-06-01 04:00:00 UTC2021-06-01 05:00:00 UTC000
Jun 1, 05:002021-06-01 05:00:00 UTC2021-06-01 06:00:00 UTC101

What Hacker News says

3 sources
Recently ran into this. So far I've landed on `setfacl` - `--user` didn't work for me because there were root permissions in my image - I didn't dig into why `userns-remap` didn't work - I didn't give https://github.com/boxboat/fixuid a try yet Some notes from my experience setfacl -dm "u:alexandros:rw" ~/alpine should be setfacl -R -dm "u:alexandros:rwx" ~/alpine In case: - `-R`: There is existing content in `~/alpine` you want made avalable - `x`: You want your container to be able to create directories However, you can still run into problems if - Your container copies data from outside your bind-mount to inside. It sort-of worked except somehow the mask was `r--`, making things lose writeable. - Your container moves data from outside your bind-mount to inside. This fully preserves the permissions. I ended up creating a `.keep`
Read the rest
file in the bind mount and doing a `cp --attributes-only --preserve=mode,ownership,xattr .keep <target>`
In File Permissions: A painful side of Docker (2019)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.