Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Allow setting file permissions for dotfiles #260

Open
svenstaro opened this issue Jun 22, 2023 · 0 comments
Open

[FEATURE] Allow setting file permissions for dotfiles #260

svenstaro opened this issue Jun 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@svenstaro
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I'd like a way to specify final file permissions for my dotfiles. For instance, in git my permissions might be 644 but I might want to have them be 600 in the final location.

Describe the solution you'd like
A syntax such as suggested by you a few years back ssh = { source = "ssh", target = ".ssh", permissions = 700 }.

Describe alternatives you've considered
It would be possible to use hooks for this though I think that gets quite confusing as the permissions aren't clearly associated with the dot entries.

Additional context
#31 (comment)

@svenstaro svenstaro added the enhancement New feature or request label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants