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

How to change file permission after cloning dotfiles #146

Closed
QiangF opened this issue Aug 17, 2015 · 3 comments
Closed

How to change file permission after cloning dotfiles #146

QiangF opened this issue Aug 17, 2015 · 3 comments

Comments

@QiangF
Copy link

QiangF commented Aug 17, 2015

Hi Everyone,
I want to manage all my customised configuration files in the whole system. One example is /etc/apt/sources.list. Is there a way to set the right permission for these files like etckeeper?
Thank you!

@andsens
Copy link
Owner

andsens commented Aug 17, 2015

Directly using homeshick: no. This is beyond the scope of homeshick I'm afraid.
You could however run homeshick pull/link with sudo and use umask to get homeshick to create/symlink with the right permissions. Consult the wiki to see how you can symlink files outside your home/ dir.

@andsens andsens closed this as completed Aug 17, 2015
@QiangF
Copy link
Author

QiangF commented Aug 17, 2015

For the record, here is my wishlist.
anishathalye/dotbot#49
Thank you!

@binarykitchen
Copy link

@andsens can you expand more on that, how to use umask for correcting file permissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants