Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Can you reuse your home directory while distro hopping?

Permission wise you generally shouldn't have problems. Ownership in Linux/Unix uses numerical IDs, and on every major distribution the UIDs for regular users start at 1000, meaning the first user t...

posted 5mo ago by GeraldS‭

Answer
#1: Initial revision by user avatar GeraldS‭ · 2024-06-19T07:56:41Z (5 months ago)
Permission wise you generally shouldn't have problems. Ownership in Linux/Unix uses numerical IDs, and on every major distribution the UIDs for regular users start at 1000, meaning the first user that is created during installation uses the 1000. Having a corresponding group with the same name is also pretty common. I'm pretty sure there are some exotic distributions out there which don't adhere to these practices, but I'd expect them to be rare.

> sometimes this breaks program in some mythical way, because a program in the new distro encounters some unexpected stuff left over by the old one

This really could pose problems. Quite often the version numbers of the same program will vary from distribution to distribution, so with applications, services and libraries which are used by a lot of distributions (dbus, GTK, QT, pulseaudio and basically every desktop environment, to name a few) will have a high chance of problems when versions differ, especially major versions where there are chances that the format of the configuration files changes, or configuration options are added which are unknown to older versions.

One solution I can think of is to place the "main directories" (Desktop, Documents, Videos, Pictures etc.) in a different place and just symlink them to the home directory for each distribution.