Comments (3)
Thanks for the bug report.
The error occurs when chezmoi
tries to determine your user group to populate the chezmoi.group
template variable, specifically in these lines.
This is a strange error, as it looks like your user has group 210, but group 210 doesn't exist.
Please can you post the output of the following commands:
$ id
$ grep `whoami` /etc/passwd
$ awk -F: '$3 == "210"' /etc/group
I suspect this is a configuration error on your machine and you should change your user group to an existing group using the usermod -g GROUP
command.
from chezmoi.
$ id
uid=10201(christ) gid=210(niskgf) groups=210(niskgf)
The other two doesn't yield any results. When I talked to the IT staff about this they mentioned that our accounts are not managed in the local files but via an external directory service.
Also I don't have permission to change my group.
from chezmoi.
OK, I see what's happening here. chezmoi
is written in Go, and Go's standard library function for looking up groups reads from /etc/group
. /etc/group
does not exist on your system so the lookup fails. I'll add a work-around.
from chezmoi.
Related Issues (20)
- Chezmoi "add" cannot add anything in parent of external HOT 1
- .chezmoi.hostname has sometimes a bad value on linux HOT 7
- Template function `keys` for dicts does not produce correct type for `promptChoice*` functions.
- chezmoi: open C:/.../desktop.ini: Access is denied. HOT 5
- `chezmoi diff` panics with `tea.unknownCSISequenceMsg: unknown message type` HOT 6
- Segfault when adding a file HOT 4
- Use regular file target with symlink mode enabled HOT 2
- Add `chezmoi ssh` command to ssh into a machine with your personal configuration
- Possibility to watch/scan a folder for new files? HOT 5
- Allow specify apply order HOT 5
- Allow `chezmoi apply` to change the scope of application. HOT 1
- Unable to add .config files - chezmoi: git: fork/exec /usr/bin/git: argument list too long HOT 5
- Several issues installing on a vanilla machine
- Apply .tmpl files in git repos declared in .chezmoiexternal HOT 2
- Segfault `.chezmoiexternal.toml` Has Headers Without Bodies HOT 1
- Run script when external changes HOT 3
- Automatically add new files for monitored folder? HOT 4
- Manage related files by logical group HOT 5
- Skip template interpolation for run_once_, run_onchange_ script templates HOT 5
- Add files within a symlinked directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezmoi.