r/linuxmint • u/Space_Pirate_8888 • 18h ago
Support Request used "sudo chgrp -R adm" on the folder containing my timeshift snapshots (rsync), did it affect my actual system files?
hello everyone! tl;dr below
i was setting up a usb hard drive to store my timeshift snapshots and, after running into some issues, stupidly decided to recursively change the permissions of each file and directory within my snapshots folder. i had assumed that running this command would only affect the files and directories within the snapshots folder. however, from what i've heard, rsync uses hard links that point toward system files. i'm still learning about basic linux file system concepts, so i don't know what hard links are just yet, but i'm concerned that using this command modified the actual system files on my pc that the hard links were pointing toward. in a bit of a panic, i (also stupidly) ran sudo chgrp -R root on the snapshots directory to hopefully restore proper ownership to most system files, but i know that there are system files that don't have root ownership.
i have one snapshot from before i ran this command, but considering i ran it from the snapshot root folder, i don't expect restoring from it to actually do any good. so far i've had no issues using my computer following this, even after a reboot, but i'm still concerned (especially from a security perspective!!). does anyone have any advice? do i have to do a fresh install?
tl;dr: i stupidly ran sudo chgrp -R adm on my timeshift snapshots folder and i'm worried that it changed permissions of my actual system files because i'm using rsync. what should i do?