47
submitted 1 month ago by edinbruh@feddit.it to c/linux@lemmy.ml

So, some times ago I had this question https://feddit.it/post/22496010 about how to manage my system configuration, storing it on a repository or something.

Many people recommended using ansible to manage the system as a whole, but my system was already up and running, what I wanted instead was something to move around files while fixing up their permissions, so I build a python script for that.

The script grew more refined as time went on, and so now I'm publishing it so anyone can use it.

p.s.: this script is purely python and has no external dependencies!

you are viewing a single comment's thread
view the rest of the comments
[-] N0x0n@lemmy.ml 2 points 1 month ago

Hey :) Thanks for sharing your project ! I'm still not 100% sure I need this because right now I just make backups of my dot files and config files and i'm relatively new with git and my self-hosted forgejo instance.

However, after experimenting the power of version control, i'm kinda interessted to host my dot/config files into my hosted forgejo instance ! But permissions and ownership are not natively supported and needs manual intervention !

Is that the issues your project is solving?

DID YOU skip the previous warning? Make sure you didn't skip it, as this might cause you to lose access to your own files!

😂🫡 Well written and funny documentation ! Thank you !

[-] edinbruh@feddit.it 2 points 1 month ago

Is that the issues your project is solving?

That's exactly it, and also the fact that git doesn't follow symlinks. Just a word of warning, If you are still inexperienced I suggest you run my tool manually instead of automating it with git hooks, as it is inherently less secure. In the post I linked in the description you can see some of the precautions I took to make it more secure. Still, running it manually is fine.

Feel free to give some feedback if you start using the tool 🙂

this post was submitted on 30 Nov 2025
47 points (96.1% liked)

Linux

57274 readers
386 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS