Dotbot is used by [multiple](https://github.com/anishathalye/dotbot/issues/49#issuecomment-251576495) [users](https://github.com/anishathalye/dotbot/issues/124) — [including me](https://github.com/nagromc/machine-configuration/blob/4e1231bb409ccc2a2efa23c186c546a1e1ff3443/install.conf.yaml) — to symlink files in folders that need `root` privileges. It would be nice to add an option (just like `path` or `create`) to the `link` plugin to describe if the target needs to be symlinked with `root` privileges. We could name this option `sudo` or `root`. For example: ```yaml - link: /etc/some/restricted/path/whatever.conf: whatever.conf create: true sudo: true ~/.vimrc: vimrc sudo: false ``` Running `./install` would create two symlinks: - `/etc/some/restricted/path/whatever.conf` created as `root` - `~/.vimrc` created as regular current user If you prefer to keep Dotbot simple, we could create a plugin that extends the `link` plugin.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by nagromc and has received 32 comments.