Components

24 Twig Components
198 Render Count
562 ms Render Time
18.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
30 10.36ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
21 3.20ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
20 5.24ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
19 2.17ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
19 16.03ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
19 12.83ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
18 297.73ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
18 116.52ms
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 2.06ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.63ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.37ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 13.82ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 25.49ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.22ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.51ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 14.53ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.47ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 17.25ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 227.52ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 3.42ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 1.61ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 1.53ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.30ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.81ms

Render calls

entry App\Twig\Components\EntryComponent 16.0 MiB 13.82 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2957
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2958 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.29 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3114
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.26 ms
Input props
[
  "date" => DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3184
  +date: DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.27 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1703484244 {#1850
    date: 2023-12-25 07:04:04.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3248
  +createdAt: DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
  +editedAt: DateTimeImmutable @1703484244 {#1850
    date: 2023-12-25 07:04:04.0 +01:00
  }
}
vote App\Twig\Components\VoteComponent 16.0 MiB 7.12 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3313
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 1.12 ms
Input props
[
  "subject" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3379
  +formDest: "entry"
  +subject: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 16.0 MiB 25.49 ms
Input props
[
  "entry" => App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3693
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        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).\n
        \n
        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.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
    +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
    +url: null
    +body: """
      Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 38
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1702197100 {#2410
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 21174
    -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
    -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1702115144
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/9032262"
    +editedAt: DateTimeImmutable @1703484244 {#1850
      date: 2023-12-25 07:04:04.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702028744 {#2420
      date: 2023-12-08 10:45:44.0 +01:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 16.0 MiB 0.22 ms
Input props
[
  "id" => "entry_comment_67baf198cf4c80.97636587_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3818
  +id: "entry_comment_67baf198cf4c80.97636587_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 7.79 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5119
  +comment: App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#3965
    +avatar: null
    +cover: null
    +email: "sebsch@discuss.tchncs.de"
    +username: "@sebsch@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1723128220 {#4022
      date: 2024-08-08 16:43:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
    +entries: Doctrine\ORM\PersistentCollection {#3959 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
    +posts: Doctrine\ORM\PersistentCollection {#3949 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
    +follows: Doctrine\ORM\PersistentCollection {#4080 …}
    +followers: Doctrine\ORM\PersistentCollection {#4073 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
    +reports: Doctrine\ORM\PersistentCollection {#4079 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
    +violations: Doctrine\ORM\PersistentCollection {#4076 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
    +awards: Doctrine\ORM\PersistentCollection {#4065 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
    +categories: Doctrine\ORM\PersistentCollection {#4066 …}
    -id: 32315
    -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
    +apId: "sebsch@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/sebsch"
    +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "sebsch"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728240458 {#4020
      date: 2024-10-06 20:47:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689929126 {#4019
      date: 2023-07-21 10:45:26.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5217
  +user: App\Entity\User {#3965
    +avatar: null
    +cover: null
    +email: "sebsch@discuss.tchncs.de"
    +username: "@sebsch@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1723128220 {#4022
      date: 2024-08-08 16:43:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
    +entries: Doctrine\ORM\PersistentCollection {#3959 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
    +posts: Doctrine\ORM\PersistentCollection {#3949 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
    +follows: Doctrine\ORM\PersistentCollection {#4080 …}
    +followers: Doctrine\ORM\PersistentCollection {#4073 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
    +reports: Doctrine\ORM\PersistentCollection {#4079 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
    +violations: Doctrine\ORM\PersistentCollection {#4076 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
    +awards: Doctrine\ORM\PersistentCollection {#4065 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
    +categories: Doctrine\ORM\PersistentCollection {#4066 …}
    -id: 32315
    -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
    +apId: "sebsch@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/sebsch"
    +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "sebsch"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728240458 {#4020
      date: 2024-10-06 20:47:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689929126 {#4019
      date: 2023-07-21 10:45:26.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702197100 {#4026
    date: 2023-12-10 09:31:40.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5272
  +date: DateTimeImmutable @1702197100 {#4026
    date: 2023-12-10 09:31:40.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702197100 {#4026
    date: 2023-12-10 09:31:40.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1703670626 {#3963
    date: 2023-12-27 10:50:26.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5326
  +createdAt: DateTimeImmutable @1702197100 {#4026
    date: 2023-12-10 09:31:40.0 +01:00
  }
  +editedAt: DateTimeImmutable @1703670626 {#3963
    date: 2023-12-27 10:50:26.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.25 ms
Input props
[
  "user" => App\Entity\User {#3965
    +avatar: null
    +cover: null
    +email: "sebsch@discuss.tchncs.de"
    +username: "@sebsch@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1723128220 {#4022
      date: 2024-08-08 16:43:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
    +entries: Doctrine\ORM\PersistentCollection {#3959 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
    +posts: Doctrine\ORM\PersistentCollection {#3949 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
    +follows: Doctrine\ORM\PersistentCollection {#4080 …}
    +followers: Doctrine\ORM\PersistentCollection {#4073 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
    +reports: Doctrine\ORM\PersistentCollection {#4079 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
    +violations: Doctrine\ORM\PersistentCollection {#4076 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
    +awards: Doctrine\ORM\PersistentCollection {#4065 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
    +categories: Doctrine\ORM\PersistentCollection {#4066 …}
    -id: 32315
    -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
    +apId: "sebsch@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/sebsch"
    +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "sebsch"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728240458 {#4020
      date: 2024-10-06 20:47:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689929126 {#4019
      date: 2023-07-21 10:45:26.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5382
  +width: 40
  +height: 40
  +user: App\Entity\User {#3965
    +avatar: null
    +cover: null
    +email: "sebsch@discuss.tchncs.de"
    +username: "@sebsch@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1723128220 {#4022
      date: 2024-08-08 16:43:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
    +entries: Doctrine\ORM\PersistentCollection {#3959 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
    +posts: Doctrine\ORM\PersistentCollection {#3949 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
    +follows: Doctrine\ORM\PersistentCollection {#4080 …}
    +followers: Doctrine\ORM\PersistentCollection {#4073 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
    +reports: Doctrine\ORM\PersistentCollection {#4079 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
    +violations: Doctrine\ORM\PersistentCollection {#4076 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
    +awards: Doctrine\ORM\PersistentCollection {#4065 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
    +categories: Doctrine\ORM\PersistentCollection {#4066 …}
    -id: 32315
    -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
    +apId: "sebsch@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/sebsch"
    +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "sebsch"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728240458 {#4020
      date: 2024-10-06 20:47:38.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689929126 {#4019
      date: 2023-07-21 10:45:26.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.34 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5469
  +subject: App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.62 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5526
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.68 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5773
  +comment: App\Entity\EntryComment {#4017
    +user: App\Entity\User {#3965
      +avatar: null
      +cover: null
      +email: "sebsch@discuss.tchncs.de"
      +username: "@sebsch@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1723128220 {#4022
        date: 2024-08-08 16:43:40.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3966 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3968 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3961 …}
      +entries: Doctrine\ORM\PersistentCollection {#3959 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3956 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3954 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3952 …}
      +posts: Doctrine\ORM\PersistentCollection {#3949 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3947 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3945 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3942 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3940 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3938 …}
      +follows: Doctrine\ORM\PersistentCollection {#4080 …}
      +followers: Doctrine\ORM\PersistentCollection {#4073 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4063 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4052 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4025 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4083 …}
      +reports: Doctrine\ORM\PersistentCollection {#4079 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4077 …}
      +violations: Doctrine\ORM\PersistentCollection {#4076 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4075 …}
      +awards: Doctrine\ORM\PersistentCollection {#4065 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4068 …}
      +categories: Doctrine\ORM\PersistentCollection {#4066 …}
      -id: 32315
      -password: "$2y$13$gVfqzOqteo2SQNlQAZtpCuSw4rRmg6l7ndzVAijY8WWHQcSDrl2Xm"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4064 …}
      +apId: "sebsch@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/sebsch"
      +apPublicUrl: "https://discuss.tchncs.de/u/sebsch"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "sebsch"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728240458 {#4020
        date: 2024-10-06 20:47:38.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689929126 {#4019
        date: 2023-07-21 10:45:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Normally its better practice to have the server configuration stored in a declarative way like ansible or similar and only store the userdata in the backup.\n
      \n
      So you can fast and easy reinstall your server including all of its config files and then clone the usage data like dbs or files into the new machine. This is more reliable and also faster than just do a full dump of the system.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702197100 {#4027
      date: 2023-12-10 09:31:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4015 …}
    +nested: Doctrine\ORM\PersistentCollection {#4013 …}
    +votes: Doctrine\ORM\PersistentCollection {#4011 …}
    +reports: Doctrine\ORM\PersistentCollection {#4009 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3977 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3981 …}
    -id: 216126
    -bodyTs: "'also':61 'ansibl':16 'backup':26 'better':3 'clone':44 'config':40 'configur':9 'data':47 'dbs':49 'declar':13 'dump':68 'easi':32 'fast':30 'faster':62 'file':41,51 'full':67 'includ':36 'like':15,48 'machin':55 'new':54 'normal':1 'practic':4 'reinstal':33 'reliabl':59 'server':8,35 'similar':18 'store':10,21 'system':71 'usag':46 'userdata':23 'way':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/5590342"
    +editedAt: DateTimeImmutable @1703670626 {#3963
      date: 2023-12-27 10:50:26.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702197100 {#4026
      date: 2023-12-10 09:31:40.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 10.76 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5857
  +comment: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4038
    +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
    +email: "scott@lem.free.as"
    +username: "@scott@lem.free.as"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
    +lastActive: DateTime @1722889428 {#4060
      date: 2024-08-05 22:23:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
    +entries: Doctrine\ORM\PersistentCollection {#4029 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
    +posts: Doctrine\ORM\PersistentCollection {#4093 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
    +follows: Doctrine\ORM\PersistentCollection {#4105 …}
    +followers: Doctrine\ORM\PersistentCollection {#4107 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +violations: Doctrine\ORM\PersistentCollection {#4121 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
    +awards: Doctrine\ORM\PersistentCollection {#4125 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
    +categories: Doctrine\ORM\PersistentCollection {#4129 …}
    -id: 27076
    -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "scott@lem.free.as"
    +apProfileId: "https://lem.free.as/u/scott"
    +apPublicUrl: "https://lem.free.as/u/scott"
    +apFollowersUrl: null
    +apInboxUrl: "https://lem.free.as/inbox"
    +apDomain: "lem.free.as"
    +apPreferredUsername: "scott"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1712159791 {#4057
      date: 2024-04-03 17:56:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689316106 {#4050
      date: 2023-07-14 08:28:26.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5902
  +user: App\Entity\User {#4038
    +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
    +email: "scott@lem.free.as"
    +username: "@scott@lem.free.as"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
    +lastActive: DateTime @1722889428 {#4060
      date: 2024-08-05 22:23:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
    +entries: Doctrine\ORM\PersistentCollection {#4029 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
    +posts: Doctrine\ORM\PersistentCollection {#4093 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
    +follows: Doctrine\ORM\PersistentCollection {#4105 …}
    +followers: Doctrine\ORM\PersistentCollection {#4107 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +violations: Doctrine\ORM\PersistentCollection {#4121 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
    +awards: Doctrine\ORM\PersistentCollection {#4125 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
    +categories: Doctrine\ORM\PersistentCollection {#4129 …}
    -id: 27076
    -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "scott@lem.free.as"
    +apProfileId: "https://lem.free.as/u/scott"
    +apPublicUrl: "https://lem.free.as/u/scott"
    +apFollowersUrl: null
    +apInboxUrl: "https://lem.free.as/inbox"
    +apDomain: "lem.free.as"
    +apPreferredUsername: "scott"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1712159791 {#4057
      date: 2024-04-03 17:56:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689316106 {#4050
      date: 2023-07-14 08:28:26.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1702167467 {#4059
    date: 2023-12-10 01:17:47.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5957
  +date: DateTimeImmutable @1702167467 {#4059
    date: 2023-12-10 01:17:47.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702167467 {#4059
    date: 2023-12-10 01:17:47.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6011
  +createdAt: DateTimeImmutable @1702167467 {#4059
    date: 2023-12-10 01:17:47.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 2.17 ms
Input props
[
  "user" => App\Entity\User {#4038
    +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
    +email: "scott@lem.free.as"
    +username: "@scott@lem.free.as"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
    +lastActive: DateTime @1722889428 {#4060
      date: 2024-08-05 22:23:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
    +entries: Doctrine\ORM\PersistentCollection {#4029 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
    +posts: Doctrine\ORM\PersistentCollection {#4093 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
    +follows: Doctrine\ORM\PersistentCollection {#4105 …}
    +followers: Doctrine\ORM\PersistentCollection {#4107 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +violations: Doctrine\ORM\PersistentCollection {#4121 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
    +awards: Doctrine\ORM\PersistentCollection {#4125 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
    +categories: Doctrine\ORM\PersistentCollection {#4129 …}
    -id: 27076
    -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "scott@lem.free.as"
    +apProfileId: "https://lem.free.as/u/scott"
    +apPublicUrl: "https://lem.free.as/u/scott"
    +apFollowersUrl: null
    +apInboxUrl: "https://lem.free.as/inbox"
    +apDomain: "lem.free.as"
    +apPreferredUsername: "scott"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1712159791 {#4057
      date: 2024-04-03 17:56:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689316106 {#4050
      date: 2023-07-14 08:28:26.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6065
  +width: 40
  +height: 40
  +user: App\Entity\User {#4038
    +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
    +email: "scott@lem.free.as"
    +username: "@scott@lem.free.as"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
    +lastActive: DateTime @1722889428 {#4060
      date: 2024-08-05 22:23:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
    +entries: Doctrine\ORM\PersistentCollection {#4029 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
    +posts: Doctrine\ORM\PersistentCollection {#4093 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
    +follows: Doctrine\ORM\PersistentCollection {#4105 …}
    +followers: Doctrine\ORM\PersistentCollection {#4107 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +violations: Doctrine\ORM\PersistentCollection {#4121 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
    +awards: Doctrine\ORM\PersistentCollection {#4125 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
    +categories: Doctrine\ORM\PersistentCollection {#4129 …}
    -id: 27076
    -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
    +apId: "scott@lem.free.as"
    +apProfileId: "https://lem.free.as/u/scott"
    +apPublicUrl: "https://lem.free.as/u/scott"
    +apFollowersUrl: null
    +apInboxUrl: "https://lem.free.as/inbox"
    +apDomain: "lem.free.as"
    +apPreferredUsername: "scott"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1712159791 {#4057
      date: 2024-04-03 17:56:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689316106 {#4050
      date: 2023-07-14 08:28:26.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 2.34 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6162
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.61 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6219
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.59 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6459
  +comment: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4038
      +avatar: Proxies\__CG__\App\Entity\Image {#4037 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4036 …}
      +email: "scott@lem.free.as"
      +username: "@scott@lem.free.as"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "openpgp4fpr:358e81f6a54dc11eaeb0af3faa742fdc5afe2a72"
      +lastActive: DateTime @1722889428 {#4060
        date: 2024-08-05 22:23:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4035 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4033 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4031 …}
      +entries: Doctrine\ORM\PersistentCollection {#4029 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4088 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4089 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4091 …}
      +posts: Doctrine\ORM\PersistentCollection {#4093 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4095 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4097 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4099 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4101 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4103 …}
      +follows: Doctrine\ORM\PersistentCollection {#4105 …}
      +followers: Doctrine\ORM\PersistentCollection {#4107 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4109 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4111 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4113 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +violations: Doctrine\ORM\PersistentCollection {#4121 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4123 …}
      +awards: Doctrine\ORM\PersistentCollection {#4125 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4127 …}
      +categories: Doctrine\ORM\PersistentCollection {#4129 …}
      -id: 27076
      -password: "$2y$13$bnAovewXOU0iFy8YD6kmeOLOpv25D284k5Nl2r7ouKTpK/NzQgqua"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4131 …}
      +apId: "scott@lem.free.as"
      +apProfileId: "https://lem.free.as/u/scott"
      +apPublicUrl: "https://lem.free.as/u/scott"
      +apFollowersUrl: null
      +apInboxUrl: "https://lem.free.as/inbox"
      +apDomain: "lem.free.as"
      +apPreferredUsername: "scott"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1712159791 {#4057
        date: 2024-04-03 17:56:31.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689316106 {#4050
        date: 2023-07-14 08:28:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Yes but it’s hard work.\n
      \n
      I did it from the other side of the planet. I accidentally ran an `rm -rf …` command on a running system. Luckily I had an identical system running that I could use to copy over the files, devices, etc.\n
      \n
      Learning about inodes and `/proc/xxx/fd` works, I was able to recover enough files to then copy over the rest from the other system.\n
      \n
      Doing it over SSH from the other side of the world was a tough 14 hours.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702167467 {#4061
      date: 2023-12-10 01:17:47.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4042 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4040 …}
    -id: 215373
    -bodyTs: "'/proc/xxx/fd':50 '14':83 'abl':54 'accident':18 'command':23 'copi':40,61 'could':37 'devic':44 'enough':57 'etc':45 'file':43,58 'hard':5 'hour':84 'ident':32 'inod':48 'learn':46 'luckili':28 'planet':16 'ran':19 'recov':56 'rest':64 'rf':22 'rm':21 'run':26,34 'side':13,76 'ssh':72 'system':27,33,68 'tough':82 'use':38 'work':6,51 'world':79 'yes':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lem.free.as/comment/843224"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702167467 {#4059
      date: 2023-12-10 01:17:47.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 12.30 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6529
  +comment: App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4151
    +avatar: null
    +cover: null
    +email: "cmeerw@programming.dev"
    +username: "@cmeerw@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726362046 {#4135
      date: 2024-09-15 03:00:46.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
    +entries: Doctrine\ORM\PersistentCollection {#4158 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +posts: Doctrine\ORM\PersistentCollection {#4166 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
    +follows: Doctrine\ORM\PersistentCollection {#4178 …}
    +followers: Doctrine\ORM\PersistentCollection {#4180 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +violations: Doctrine\ORM\PersistentCollection {#4194 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
    +awards: Doctrine\ORM\PersistentCollection {#4198 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
    +categories: Doctrine\ORM\PersistentCollection {#4202 …}
    -id: 71271
    -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
    +apId: "cmeerw@programming.dev"
    +apProfileId: "https://programming.dev/u/cmeerw"
    +apPublicUrl: "https://programming.dev/u/cmeerw"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "cmeerw"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726934592 {#4136
      date: 2024-09-21 18:03:12.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699109591 {#4137
      date: 2023-11-04 15:53:11.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6574
  +user: App\Entity\User {#4151
    +avatar: null
    +cover: null
    +email: "cmeerw@programming.dev"
    +username: "@cmeerw@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726362046 {#4135
      date: 2024-09-15 03:00:46.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
    +entries: Doctrine\ORM\PersistentCollection {#4158 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +posts: Doctrine\ORM\PersistentCollection {#4166 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
    +follows: Doctrine\ORM\PersistentCollection {#4178 …}
    +followers: Doctrine\ORM\PersistentCollection {#4180 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +violations: Doctrine\ORM\PersistentCollection {#4194 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
    +awards: Doctrine\ORM\PersistentCollection {#4198 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
    +categories: Doctrine\ORM\PersistentCollection {#4202 …}
    -id: 71271
    -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
    +apId: "cmeerw@programming.dev"
    +apProfileId: "https://programming.dev/u/cmeerw"
    +apPublicUrl: "https://programming.dev/u/cmeerw"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "cmeerw"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726934592 {#4136
      date: 2024-09-21 18:03:12.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699109591 {#4137
      date: 2023-11-04 15:53:11.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1702125520 {#4134
    date: 2023-12-09 13:38:40.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6629
  +date: DateTimeImmutable @1702125520 {#4134
    date: 2023-12-09 13:38:40.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702125520 {#4134
    date: 2023-12-09 13:38:40.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6683
  +createdAt: DateTimeImmutable @1702125520 {#4134
    date: 2023-12-09 13:38:40.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4151
    +avatar: null
    +cover: null
    +email: "cmeerw@programming.dev"
    +username: "@cmeerw@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726362046 {#4135
      date: 2024-09-15 03:00:46.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
    +entries: Doctrine\ORM\PersistentCollection {#4158 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +posts: Doctrine\ORM\PersistentCollection {#4166 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
    +follows: Doctrine\ORM\PersistentCollection {#4178 …}
    +followers: Doctrine\ORM\PersistentCollection {#4180 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +violations: Doctrine\ORM\PersistentCollection {#4194 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
    +awards: Doctrine\ORM\PersistentCollection {#4198 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
    +categories: Doctrine\ORM\PersistentCollection {#4202 …}
    -id: 71271
    -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
    +apId: "cmeerw@programming.dev"
    +apProfileId: "https://programming.dev/u/cmeerw"
    +apPublicUrl: "https://programming.dev/u/cmeerw"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "cmeerw"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726934592 {#4136
      date: 2024-09-21 18:03:12.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699109591 {#4137
      date: 2023-11-04 15:53:11.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6737
  +width: 40
  +height: 40
  +user: App\Entity\User {#4151
    +avatar: null
    +cover: null
    +email: "cmeerw@programming.dev"
    +username: "@cmeerw@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726362046 {#4135
      date: 2024-09-15 03:00:46.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
    +entries: Doctrine\ORM\PersistentCollection {#4158 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
    +posts: Doctrine\ORM\PersistentCollection {#4166 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
    +follows: Doctrine\ORM\PersistentCollection {#4178 …}
    +followers: Doctrine\ORM\PersistentCollection {#4180 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
    +reports: Doctrine\ORM\PersistentCollection {#4190 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
    +violations: Doctrine\ORM\PersistentCollection {#4194 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
    +awards: Doctrine\ORM\PersistentCollection {#4198 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
    +categories: Doctrine\ORM\PersistentCollection {#4202 …}
    -id: 71271
    -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
    +apId: "cmeerw@programming.dev"
    +apProfileId: "https://programming.dev/u/cmeerw"
    +apPublicUrl: "https://programming.dev/u/cmeerw"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "cmeerw"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726934592 {#4136
      date: 2024-09-21 18:03:12.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699109591 {#4137
      date: 2023-11-04 15:53:11.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.35 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6816
  +subject: App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.59 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6873
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 6.69 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7113
  +comment: App\Entity\EntryComment {#4138
    +user: App\Entity\User {#4151
      +avatar: null
      +cover: null
      +email: "cmeerw@programming.dev"
      +username: "@cmeerw@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726362046 {#4135
        date: 2024-09-15 03:00:46.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4152 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4154 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4156 …}
      +entries: Doctrine\ORM\PersistentCollection {#4158 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4160 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4162 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4164 …}
      +posts: Doctrine\ORM\PersistentCollection {#4166 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4168 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4170 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4172 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4174 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4176 …}
      +follows: Doctrine\ORM\PersistentCollection {#4178 …}
      +followers: Doctrine\ORM\PersistentCollection {#4180 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4182 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4184 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4186 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4188 …}
      +reports: Doctrine\ORM\PersistentCollection {#4190 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4192 …}
      +violations: Doctrine\ORM\PersistentCollection {#4194 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4196 …}
      +awards: Doctrine\ORM\PersistentCollection {#4198 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4200 …}
      +categories: Doctrine\ORM\PersistentCollection {#4202 …}
      -id: 71271
      -password: "$2y$13$oPvUn1M7ITBgJmyfOht3vO/zJ/WF8seRMsERtONpEcFEWJTCVpCVK"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4204 …}
      +apId: "cmeerw@programming.dev"
      +apProfileId: "https://programming.dev/u/cmeerw"
      +apPublicUrl: "https://programming.dev/u/cmeerw"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "cmeerw"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726934592 {#4136
        date: 2024-09-21 18:03:12.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699109591 {#4137
        date: 2023-11-04 15:53:11.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      > Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
      \n
      Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). `/var` will also have a lot of different owners.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702125520 {#4133
      date: 2023-12-09 13:38:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4139 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4149 …}
    -id: 213502
    -bodyTs: "'/var':78 'also':34,80 'assum':17 'attribut':69,77 'back':45 'belong':11,23 'binari':58 'chown':31 'differ':85 'directori':21 'e.g':70 'even':66 'everyth':18,48 'extend':68 'issu':2 'know':37 'lot':83 'might':65 'own':51 'owner':86 'permiss':43 'ping':71 're':5 'retain':40 'root':25,53 'security.capability':76 'server':9,14 'setgid':63 'setuid':61 'store':6 'use':30 'user':15 'usual':73"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/5571301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702125520 {#4134
      date: 2023-12-09 13:38:40.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 7.23 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7183
  +comment: App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4224
    +avatar: null
    +cover: null
    +email: "merthyr1831@lemmy.world"
    +username: "@merthyr1831@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729045188 {#4208
      date: 2024-10-16 04:19:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
    +entries: Doctrine\ORM\PersistentCollection {#4231 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +posts: Doctrine\ORM\PersistentCollection {#4239 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +follows: Doctrine\ORM\PersistentCollection {#4251 …}
    +followers: Doctrine\ORM\PersistentCollection {#4253 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +violations: Doctrine\ORM\PersistentCollection {#4267 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
    +awards: Doctrine\ORM\PersistentCollection {#4271 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
    +categories: Doctrine\ORM\PersistentCollection {#4275 …}
    -id: 39665
    -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
    +apId: "merthyr1831@lemmy.world"
    +apProfileId: "https://lemmy.world/u/merthyr1831"
    +apPublicUrl: "https://lemmy.world/u/merthyr1831"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "merthyr1831"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727102425 {#4209
      date: 2024-09-23 16:40:25.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691574258 {#4210
      date: 2023-08-09 11:44:18.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7228
  +user: App\Entity\User {#4224
    +avatar: null
    +cover: null
    +email: "merthyr1831@lemmy.world"
    +username: "@merthyr1831@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729045188 {#4208
      date: 2024-10-16 04:19:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
    +entries: Doctrine\ORM\PersistentCollection {#4231 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +posts: Doctrine\ORM\PersistentCollection {#4239 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +follows: Doctrine\ORM\PersistentCollection {#4251 …}
    +followers: Doctrine\ORM\PersistentCollection {#4253 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +violations: Doctrine\ORM\PersistentCollection {#4267 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
    +awards: Doctrine\ORM\PersistentCollection {#4271 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
    +categories: Doctrine\ORM\PersistentCollection {#4275 …}
    -id: 39665
    -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
    +apId: "merthyr1831@lemmy.world"
    +apProfileId: "https://lemmy.world/u/merthyr1831"
    +apPublicUrl: "https://lemmy.world/u/merthyr1831"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "merthyr1831"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727102425 {#4209
      date: 2024-09-23 16:40:25.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691574258 {#4210
      date: 2023-08-09 11:44:18.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702124492 {#4207
    date: 2023-12-09 13:21:32.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7283
  +date: DateTimeImmutable @1702124492 {#4207
    date: 2023-12-09 13:21:32.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702124492 {#4207
    date: 2023-12-09 13:21:32.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7337
  +createdAt: DateTimeImmutable @1702124492 {#4207
    date: 2023-12-09 13:21:32.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4224
    +avatar: null
    +cover: null
    +email: "merthyr1831@lemmy.world"
    +username: "@merthyr1831@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729045188 {#4208
      date: 2024-10-16 04:19:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
    +entries: Doctrine\ORM\PersistentCollection {#4231 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +posts: Doctrine\ORM\PersistentCollection {#4239 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +follows: Doctrine\ORM\PersistentCollection {#4251 …}
    +followers: Doctrine\ORM\PersistentCollection {#4253 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +violations: Doctrine\ORM\PersistentCollection {#4267 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
    +awards: Doctrine\ORM\PersistentCollection {#4271 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
    +categories: Doctrine\ORM\PersistentCollection {#4275 …}
    -id: 39665
    -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
    +apId: "merthyr1831@lemmy.world"
    +apProfileId: "https://lemmy.world/u/merthyr1831"
    +apPublicUrl: "https://lemmy.world/u/merthyr1831"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "merthyr1831"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727102425 {#4209
      date: 2024-09-23 16:40:25.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691574258 {#4210
      date: 2023-08-09 11:44:18.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7391
  +width: 40
  +height: 40
  +user: App\Entity\User {#4224
    +avatar: null
    +cover: null
    +email: "merthyr1831@lemmy.world"
    +username: "@merthyr1831@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729045188 {#4208
      date: 2024-10-16 04:19:48.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
    +entries: Doctrine\ORM\PersistentCollection {#4231 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
    +posts: Doctrine\ORM\PersistentCollection {#4239 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
    +follows: Doctrine\ORM\PersistentCollection {#4251 …}
    +followers: Doctrine\ORM\PersistentCollection {#4253 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
    +reports: Doctrine\ORM\PersistentCollection {#4263 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
    +violations: Doctrine\ORM\PersistentCollection {#4267 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
    +awards: Doctrine\ORM\PersistentCollection {#4271 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
    +categories: Doctrine\ORM\PersistentCollection {#4275 …}
    -id: 39665
    -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
    +apId: "merthyr1831@lemmy.world"
    +apProfileId: "https://lemmy.world/u/merthyr1831"
    +apPublicUrl: "https://lemmy.world/u/merthyr1831"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "merthyr1831"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727102425 {#4209
      date: 2024-09-23 16:40:25.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691574258 {#4210
      date: 2023-08-09 11:44:18.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.36 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7460
  +subject: App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7517
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.58 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7757
  +comment: App\Entity\EntryComment {#4211
    +user: App\Entity\User {#4224
      +avatar: null
      +cover: null
      +email: "merthyr1831@lemmy.world"
      +username: "@merthyr1831@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729045188 {#4208
        date: 2024-10-16 04:19:48.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4225 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4227 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4229 …}
      +entries: Doctrine\ORM\PersistentCollection {#4231 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4233 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4235 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4237 …}
      +posts: Doctrine\ORM\PersistentCollection {#4239 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4241 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4243 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4245 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4247 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4249 …}
      +follows: Doctrine\ORM\PersistentCollection {#4251 …}
      +followers: Doctrine\ORM\PersistentCollection {#4253 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4255 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4257 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4259 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4261 …}
      +reports: Doctrine\ORM\PersistentCollection {#4263 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4265 …}
      +violations: Doctrine\ORM\PersistentCollection {#4267 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4269 …}
      +awards: Doctrine\ORM\PersistentCollection {#4271 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4273 …}
      +categories: Doctrine\ORM\PersistentCollection {#4275 …}
      -id: 39665
      -password: "$2y$13$LknVB7IBaUJzvFUuUTcraOhp1l43u1VHUTzYGcXzNWJQjStRmgQ/a"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4277 …}
      +apId: "merthyr1831@lemmy.world"
      +apProfileId: "https://lemmy.world/u/merthyr1831"
      +apPublicUrl: "https://lemmy.world/u/merthyr1831"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "merthyr1831"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727102425 {#4209
        date: 2024-09-23 16:40:25.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691574258 {#4210
        date: 2023-08-09 11:44:18.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did a similar fucky-wucky before and honestly i just cut my losses and backed up the user data before reinstalling the OS from scratch. Took a few days of tinkering to get my system back to where it was but there’s no telling what kind of system you’ll be left with when you merge a known good image with a broken system."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1702124492 {#4206
      date: 2023-12-09 13:21:32.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4212 …}
    +nested: Doctrine\ORM\PersistentCollection {#4214 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4218 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4220 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4222 …}
    -id: 213466
    -bodyTs: "'back':17,38 'broken':66 'cut':13 'data':21 'day':31 'fucki':6 'fucky-wucki':5 'get':35 'good':62 'honest':10 'imag':63 'kind':49 'known':61 'left':55 'll':53 'loss':15 'merg':59 'os':25 'reinstal':23 'scratch':27 'similar':4 'system':37,51,67 'tell':47 'tinker':33 'took':28 'user':20 'wucki':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5917890"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702124492 {#4207
      date: 2023-12-09 13:21:32.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 19.25 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7827
  +comment: App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4297
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4281
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
    +entries: Doctrine\ORM\PersistentCollection {#4304 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
    +posts: Doctrine\ORM\PersistentCollection {#4312 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
    +follows: Doctrine\ORM\PersistentCollection {#4324 …}
    +followers: Doctrine\ORM\PersistentCollection {#4326 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
    +reports: Doctrine\ORM\PersistentCollection {#4336 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
    +violations: Doctrine\ORM\PersistentCollection {#4340 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
    +awards: Doctrine\ORM\PersistentCollection {#4344 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
    +categories: Doctrine\ORM\PersistentCollection {#4348 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4282
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4283
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7872
  +user: App\Entity\User {#4297
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4281
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
    +entries: Doctrine\ORM\PersistentCollection {#4304 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
    +posts: Doctrine\ORM\PersistentCollection {#4312 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
    +follows: Doctrine\ORM\PersistentCollection {#4324 …}
    +followers: Doctrine\ORM\PersistentCollection {#4326 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
    +reports: Doctrine\ORM\PersistentCollection {#4336 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
    +violations: Doctrine\ORM\PersistentCollection {#4340 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
    +awards: Doctrine\ORM\PersistentCollection {#4344 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
    +categories: Doctrine\ORM\PersistentCollection {#4348 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4282
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4283
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702109511 {#4280
    date: 2023-12-09 09:11:51.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7927
  +date: DateTimeImmutable @1702109511 {#4280
    date: 2023-12-09 09:11:51.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702109511 {#4280
    date: 2023-12-09 09:11:51.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7981
  +createdAt: DateTimeImmutable @1702109511 {#4280
    date: 2023-12-09 09:11:51.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.17 ms
Input props
[
  "user" => App\Entity\User {#4297
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4281
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
    +entries: Doctrine\ORM\PersistentCollection {#4304 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
    +posts: Doctrine\ORM\PersistentCollection {#4312 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
    +follows: Doctrine\ORM\PersistentCollection {#4324 …}
    +followers: Doctrine\ORM\PersistentCollection {#4326 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
    +reports: Doctrine\ORM\PersistentCollection {#4336 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
    +violations: Doctrine\ORM\PersistentCollection {#4340 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
    +awards: Doctrine\ORM\PersistentCollection {#4344 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
    +categories: Doctrine\ORM\PersistentCollection {#4348 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4282
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4283
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8035
  +width: 40
  +height: 40
  +user: App\Entity\User {#4297
    +avatar: null
    +cover: null
    +email: "Holzkohlen@feddit.de"
    +username: "@Holzkohlen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1721494384 {#4281
      date: 2024-07-20 18:53:04.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
    +entries: Doctrine\ORM\PersistentCollection {#4304 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
    +posts: Doctrine\ORM\PersistentCollection {#4312 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
    +follows: Doctrine\ORM\PersistentCollection {#4324 …}
    +followers: Doctrine\ORM\PersistentCollection {#4326 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
    +reports: Doctrine\ORM\PersistentCollection {#4336 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
    +violations: Doctrine\ORM\PersistentCollection {#4340 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
    +awards: Doctrine\ORM\PersistentCollection {#4344 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
    +categories: Doctrine\ORM\PersistentCollection {#4348 …}
    -id: 33084
    -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
    +apId: "Holzkohlen@feddit.de"
    +apProfileId: "https://feddit.de/u/Holzkohlen"
    +apPublicUrl: "https://feddit.de/u/Holzkohlen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Holzkohlen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721129919 {#4282
      date: 2024-07-16 13:38:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690003025 {#4283
      date: 2023-07-22 07:17:05.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.38 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8104
  +subject: App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8161
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 1.01 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8401
  +comment: App\Entity\EntryComment {#4284
    +user: App\Entity\User {#4297
      +avatar: null
      +cover: null
      +email: "Holzkohlen@feddit.de"
      +username: "@Holzkohlen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1721494384 {#4281
        date: 2024-07-20 18:53:04.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4298 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4300 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4302 …}
      +entries: Doctrine\ORM\PersistentCollection {#4304 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4306 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4308 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4310 …}
      +posts: Doctrine\ORM\PersistentCollection {#4312 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4314 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4316 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4318 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4320 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4322 …}
      +follows: Doctrine\ORM\PersistentCollection {#4324 …}
      +followers: Doctrine\ORM\PersistentCollection {#4326 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4328 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4330 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4332 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4334 …}
      +reports: Doctrine\ORM\PersistentCollection {#4336 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4338 …}
      +violations: Doctrine\ORM\PersistentCollection {#4340 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4342 …}
      +awards: Doctrine\ORM\PersistentCollection {#4344 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4346 …}
      +categories: Doctrine\ORM\PersistentCollection {#4348 …}
      -id: 33084
      -password: "$2y$13$uCG.OQtY9vFoOFy24YbGCe0ALm9IVCJfpohpHd9WnHPw9uMHVtVwq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4350 …}
      +apId: "Holzkohlen@feddit.de"
      +apProfileId: "https://feddit.de/u/Holzkohlen"
      +apPublicUrl: "https://feddit.de/u/Holzkohlen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Holzkohlen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721129919 {#4282
        date: 2024-07-16 13:38:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690003025 {#4283
        date: 2023-07-22 07:17:05.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Use dd next. Go for a trash your install speedrun! Hey, it’s the quickest way to learn 🤷\u{200D}♂️"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702109511 {#4279
      date: 2023-12-09 09:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4285 …}
    +nested: Doctrine\ORM\PersistentCollection {#4287 …}
    +votes: Doctrine\ORM\PersistentCollection {#4289 …}
    +reports: Doctrine\ORM\PersistentCollection {#4291 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4293 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4295 …}
    -id: 213100
    -bodyTs: "'dd':2 'go':4 'hey':11 'instal':9 'learn':18 'next':3 'quickest':15 'speedrun':10 'trash':7 'use':1 'way':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5526848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702109511 {#4280
      date: 2023-12-09 09:11:51.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 23.64 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8471
  +comment: App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4370
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4354
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
    +entries: Doctrine\ORM\PersistentCollection {#4377 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
    +posts: Doctrine\ORM\PersistentCollection {#4385 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
    +follows: Doctrine\ORM\PersistentCollection {#4397 …}
    +followers: Doctrine\ORM\PersistentCollection {#4399 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
    +reports: Doctrine\ORM\PersistentCollection {#4409 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
    +violations: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    +awards: Doctrine\ORM\PersistentCollection {#4417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
    +categories: Doctrine\ORM\PersistentCollection {#4421 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4355
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4356
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8516
  +user: App\Entity\User {#4370
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4354
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
    +entries: Doctrine\ORM\PersistentCollection {#4377 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
    +posts: Doctrine\ORM\PersistentCollection {#4385 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
    +follows: Doctrine\ORM\PersistentCollection {#4397 …}
    +followers: Doctrine\ORM\PersistentCollection {#4399 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
    +reports: Doctrine\ORM\PersistentCollection {#4409 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
    +violations: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    +awards: Doctrine\ORM\PersistentCollection {#4417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
    +categories: Doctrine\ORM\PersistentCollection {#4421 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4355
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4356
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702094824 {#4353
    date: 2023-12-09 05:07:04.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8571
  +date: DateTimeImmutable @1702094824 {#4353
    date: 2023-12-09 05:07:04.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702094824 {#4353
    date: 2023-12-09 05:07:04.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8625
  +createdAt: DateTimeImmutable @1702094824 {#4353
    date: 2023-12-09 05:07:04.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4370
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4354
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
    +entries: Doctrine\ORM\PersistentCollection {#4377 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
    +posts: Doctrine\ORM\PersistentCollection {#4385 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
    +follows: Doctrine\ORM\PersistentCollection {#4397 …}
    +followers: Doctrine\ORM\PersistentCollection {#4399 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
    +reports: Doctrine\ORM\PersistentCollection {#4409 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
    +violations: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    +awards: Doctrine\ORM\PersistentCollection {#4417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
    +categories: Doctrine\ORM\PersistentCollection {#4421 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4355
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4356
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8679
  +width: 40
  +height: 40
  +user: App\Entity\User {#4370
    +avatar: null
    +cover: null
    +email: "mvirts@lemmy.world"
    +username: "@mvirts@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729583515 {#4354
      date: 2024-10-22 09:51:55.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
    +entries: Doctrine\ORM\PersistentCollection {#4377 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
    +posts: Doctrine\ORM\PersistentCollection {#4385 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
    +follows: Doctrine\ORM\PersistentCollection {#4397 …}
    +followers: Doctrine\ORM\PersistentCollection {#4399 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
    +reports: Doctrine\ORM\PersistentCollection {#4409 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
    +violations: Doctrine\ORM\PersistentCollection {#4413 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
    +awards: Doctrine\ORM\PersistentCollection {#4417 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
    +categories: Doctrine\ORM\PersistentCollection {#4421 …}
    -id: 19523
    -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
    +apId: "mvirts@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mvirts"
    +apPublicUrl: "https://lemmy.world/u/mvirts"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mvirts"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729282890 {#4355
      date: 2024-10-18 22:21:30.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688619237 {#4356
      date: 2023-07-06 06:53:57.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8752
  +subject: App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.64 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8809
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 17.22 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9049
  +comment: App\Entity\EntryComment {#4357
    +user: App\Entity\User {#4370
      +avatar: null
      +cover: null
      +email: "mvirts@lemmy.world"
      +username: "@mvirts@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729583515 {#4354
        date: 2024-10-22 09:51:55.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4371 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4373 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4375 …}
      +entries: Doctrine\ORM\PersistentCollection {#4377 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4379 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4381 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4383 …}
      +posts: Doctrine\ORM\PersistentCollection {#4385 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4387 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4389 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4391 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4393 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4395 …}
      +follows: Doctrine\ORM\PersistentCollection {#4397 …}
      +followers: Doctrine\ORM\PersistentCollection {#4399 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4401 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4403 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4405 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4407 …}
      +reports: Doctrine\ORM\PersistentCollection {#4409 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4411 …}
      +violations: Doctrine\ORM\PersistentCollection {#4413 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4415 …}
      +awards: Doctrine\ORM\PersistentCollection {#4417 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4419 …}
      +categories: Doctrine\ORM\PersistentCollection {#4421 …}
      -id: 19523
      -password: "$2y$13$WO7MXELeuSoNGiUsr5qvDe8sKegG.N6Ka6xIE6qho31vK9BUWxYvS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4423 …}
      +apId: "mvirts@lemmy.world"
      +apProfileId: "https://lemmy.world/u/mvirts"
      +apPublicUrl: "https://lemmy.world/u/mvirts"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "mvirts"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729282890 {#4355
        date: 2024-10-18 22:21:30.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688619237 {#4356
        date: 2023-07-06 06:53:57.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Give it a try! System is broken anyway. Also fix your backup to include file metadata, maybe disk images?\n
      \n
      Heck I would try using testdisk to undelete the files onto another filesystem then copy them back if the permissions look okay.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 9
    +score: 0
    +lastActive: DateTime @1702094824 {#4352
      date: 2023-12-09 05:07:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4358 …}
    +nested: Doctrine\ORM\PersistentCollection {#4360 …}
    +votes: Doctrine\ORM\PersistentCollection {#4362 …}
    +reports: Doctrine\ORM\PersistentCollection {#4364 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4366 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4368 …}
    -id: 212748
    -bodyTs: "'also':9 'anoth':31 'anyway':8 'back':36 'backup':12 'broken':7 'copi':34 'disk':18 'file':15,29 'filesystem':32 'fix':10 'give':1 'heck':20 'imag':19 'includ':14 'look':40 'mayb':17 'metadata':16 'okay':41 'onto':30 'permiss':39 'system':5 'testdisk':25 'tri':4,23 'undelet':27 'use':24 'would':22"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5912718"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702094824 {#4353
      date: 2023-12-09 05:07:04.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 6.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9119
  +comment: App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4443
    +avatar: null
    +cover: null
    +email: "loopgru@slrpnk.net"
    +username: "@loopgru@slrpnk.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711977523 {#4427
      date: 2024-04-01 15:18:43.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
    +entries: Doctrine\ORM\PersistentCollection {#4450 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
    +posts: Doctrine\ORM\PersistentCollection {#4458 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
    +follows: Doctrine\ORM\PersistentCollection {#4470 …}
    +followers: Doctrine\ORM\PersistentCollection {#4472 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +violations: Doctrine\ORM\PersistentCollection {#4486 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
    +awards: Doctrine\ORM\PersistentCollection {#4490 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
    +categories: Doctrine\ORM\PersistentCollection {#4494 …}
    -id: 77690
    -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
    +apId: "loopgru@slrpnk.net"
    +apProfileId: "https://slrpnk.net/u/loopgru"
    +apPublicUrl: "https://slrpnk.net/u/loopgru"
    +apFollowersUrl: null
    +apInboxUrl: "https://slrpnk.net/inbox"
    +apDomain: "slrpnk.net"
    +apPreferredUsername: "loopgru"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719497189 {#4428
      date: 2024-06-27 16:06:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700630639 {#4429
      date: 2023-11-22 06:23:59.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9164
  +user: App\Entity\User {#4443
    +avatar: null
    +cover: null
    +email: "loopgru@slrpnk.net"
    +username: "@loopgru@slrpnk.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711977523 {#4427
      date: 2024-04-01 15:18:43.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
    +entries: Doctrine\ORM\PersistentCollection {#4450 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
    +posts: Doctrine\ORM\PersistentCollection {#4458 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
    +follows: Doctrine\ORM\PersistentCollection {#4470 …}
    +followers: Doctrine\ORM\PersistentCollection {#4472 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +violations: Doctrine\ORM\PersistentCollection {#4486 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
    +awards: Doctrine\ORM\PersistentCollection {#4490 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
    +categories: Doctrine\ORM\PersistentCollection {#4494 …}
    -id: 77690
    -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
    +apId: "loopgru@slrpnk.net"
    +apProfileId: "https://slrpnk.net/u/loopgru"
    +apPublicUrl: "https://slrpnk.net/u/loopgru"
    +apFollowersUrl: null
    +apInboxUrl: "https://slrpnk.net/inbox"
    +apDomain: "slrpnk.net"
    +apPreferredUsername: "loopgru"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719497189 {#4428
      date: 2024-06-27 16:06:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700630639 {#4429
      date: 2023-11-22 06:23:59.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702088487 {#4426
    date: 2023-12-09 03:21:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9219
  +date: DateTimeImmutable @1702088487 {#4426
    date: 2023-12-09 03:21:27.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702088487 {#4426
    date: 2023-12-09 03:21:27.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9273
  +createdAt: DateTimeImmutable @1702088487 {#4426
    date: 2023-12-09 03:21:27.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4443
    +avatar: null
    +cover: null
    +email: "loopgru@slrpnk.net"
    +username: "@loopgru@slrpnk.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711977523 {#4427
      date: 2024-04-01 15:18:43.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
    +entries: Doctrine\ORM\PersistentCollection {#4450 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
    +posts: Doctrine\ORM\PersistentCollection {#4458 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
    +follows: Doctrine\ORM\PersistentCollection {#4470 …}
    +followers: Doctrine\ORM\PersistentCollection {#4472 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +violations: Doctrine\ORM\PersistentCollection {#4486 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
    +awards: Doctrine\ORM\PersistentCollection {#4490 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
    +categories: Doctrine\ORM\PersistentCollection {#4494 …}
    -id: 77690
    -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
    +apId: "loopgru@slrpnk.net"
    +apProfileId: "https://slrpnk.net/u/loopgru"
    +apPublicUrl: "https://slrpnk.net/u/loopgru"
    +apFollowersUrl: null
    +apInboxUrl: "https://slrpnk.net/inbox"
    +apDomain: "slrpnk.net"
    +apPreferredUsername: "loopgru"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719497189 {#4428
      date: 2024-06-27 16:06:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700630639 {#4429
      date: 2023-11-22 06:23:59.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9327
  +width: 40
  +height: 40
  +user: App\Entity\User {#4443
    +avatar: null
    +cover: null
    +email: "loopgru@slrpnk.net"
    +username: "@loopgru@slrpnk.net"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1711977523 {#4427
      date: 2024-04-01 15:18:43.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
    +entries: Doctrine\ORM\PersistentCollection {#4450 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
    +posts: Doctrine\ORM\PersistentCollection {#4458 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
    +follows: Doctrine\ORM\PersistentCollection {#4470 …}
    +followers: Doctrine\ORM\PersistentCollection {#4472 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +violations: Doctrine\ORM\PersistentCollection {#4486 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
    +awards: Doctrine\ORM\PersistentCollection {#4490 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
    +categories: Doctrine\ORM\PersistentCollection {#4494 …}
    -id: 77690
    -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
    +apId: "loopgru@slrpnk.net"
    +apProfileId: "https://slrpnk.net/u/loopgru"
    +apPublicUrl: "https://slrpnk.net/u/loopgru"
    +apFollowersUrl: null
    +apInboxUrl: "https://slrpnk.net/inbox"
    +apDomain: "slrpnk.net"
    +apPreferredUsername: "loopgru"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719497189 {#4428
      date: 2024-06-27 16:06:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700630639 {#4429
      date: 2023-11-22 06:23:59.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9396
  +subject: App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.60 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9453
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.65 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9693
  +comment: App\Entity\EntryComment {#4430
    +user: App\Entity\User {#4443
      +avatar: null
      +cover: null
      +email: "loopgru@slrpnk.net"
      +username: "@loopgru@slrpnk.net"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1711977523 {#4427
        date: 2024-04-01 15:18:43.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4444 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4446 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4448 …}
      +entries: Doctrine\ORM\PersistentCollection {#4450 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4452 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4454 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4456 …}
      +posts: Doctrine\ORM\PersistentCollection {#4458 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4460 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4462 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4464 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4466 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4468 …}
      +follows: Doctrine\ORM\PersistentCollection {#4470 …}
      +followers: Doctrine\ORM\PersistentCollection {#4472 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4474 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4476 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4478 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4480 …}
      +reports: Doctrine\ORM\PersistentCollection {#4482 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
      +violations: Doctrine\ORM\PersistentCollection {#4486 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4488 …}
      +awards: Doctrine\ORM\PersistentCollection {#4490 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4492 …}
      +categories: Doctrine\ORM\PersistentCollection {#4494 …}
      -id: 77690
      -password: "$2y$13$OfKQPVrBbJtvztACtBFJRu4E6VFsw5gbP4MfjayintybTCGhPOtUC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4496 …}
      +apId: "loopgru@slrpnk.net"
      +apProfileId: "https://slrpnk.net/u/loopgru"
      +apPublicUrl: "https://slrpnk.net/u/loopgru"
      +apFollowersUrl: null
      +apInboxUrl: "https://slrpnk.net/inbox"
      +apDomain: "slrpnk.net"
      +apPreferredUsername: "loopgru"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719497189 {#4428
        date: 2024-06-27 16:06:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700630639 {#4429
        date: 2023-11-22 06:23:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I did this way back in the day on my Mandrake installation with a 1.44" floppy. Only tricky part was that I had to run cp from the floppy instead of from normal $PATH as I’d wiped out /bin."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702088487 {#4425
      date: 2023-12-09 03:21:27.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4431 …}
    +nested: Doctrine\ORM\PersistentCollection {#4433 …}
    +votes: Doctrine\ORM\PersistentCollection {#4435 …}
    +reports: Doctrine\ORM\PersistentCollection {#4437 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4439 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4441 …}
    -id: 212562
    -bodyTs: "'/bin':40 '1.44':15 'back':5 'cp':26 'd':37 'day':8 'floppi':16,29 'instal':12 'instead':30 'mandrak':11 'normal':33 'part':19 'path':34 'run':25 'tricki':18 'way':4 'wipe':38"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://slrpnk.net/comment/4588756"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702088487 {#4426
      date: 2023-12-09 03:21:27.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 15.66 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9763
  +comment: App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4517
    +avatar: null
    +cover: null
    +email: "Lemmchen@feddit.de"
    +username: "@Lemmchen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1704972802 {#4501
      date: 2024-01-11 12:33:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
    +entries: Doctrine\ORM\PersistentCollection {#4524 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
    +posts: Doctrine\ORM\PersistentCollection {#4532 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
    +follows: Doctrine\ORM\PersistentCollection {#4544 …}
    +followers: Doctrine\ORM\PersistentCollection {#4546 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
    +reports: Doctrine\ORM\PersistentCollection {#4556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
    +violations: Doctrine\ORM\PersistentCollection {#4560 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
    +awards: Doctrine\ORM\PersistentCollection {#4564 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
    +categories: Doctrine\ORM\PersistentCollection {#4568 …}
    -id: 57766
    -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
    +apId: "Lemmchen@feddit.de"
    +apProfileId: "https://feddit.de/u/Lemmchen"
    +apPublicUrl: "https://feddit.de/u/Lemmchen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Lemmchen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720787322 {#4502
      date: 2024-07-12 14:28:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697207437 {#4503
      date: 2023-10-13 16:30:37.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9808
  +user: App\Entity\User {#4517
    +avatar: null
    +cover: null
    +email: "Lemmchen@feddit.de"
    +username: "@Lemmchen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1704972802 {#4501
      date: 2024-01-11 12:33:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
    +entries: Doctrine\ORM\PersistentCollection {#4524 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
    +posts: Doctrine\ORM\PersistentCollection {#4532 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
    +follows: Doctrine\ORM\PersistentCollection {#4544 …}
    +followers: Doctrine\ORM\PersistentCollection {#4546 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
    +reports: Doctrine\ORM\PersistentCollection {#4556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
    +violations: Doctrine\ORM\PersistentCollection {#4560 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
    +awards: Doctrine\ORM\PersistentCollection {#4564 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
    +categories: Doctrine\ORM\PersistentCollection {#4568 …}
    -id: 57766
    -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
    +apId: "Lemmchen@feddit.de"
    +apProfileId: "https://feddit.de/u/Lemmchen"
    +apPublicUrl: "https://feddit.de/u/Lemmchen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Lemmchen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720787322 {#4502
      date: 2024-07-12 14:28:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697207437 {#4503
      date: 2023-10-13 16:30:37.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702085397 {#4500
    date: 2023-12-09 02:29:57.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9863
  +date: DateTimeImmutable @1702085397 {#4500
    date: 2023-12-09 02:29:57.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702085397 {#4500
    date: 2023-12-09 02:29:57.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1703681943 {#4499
    date: 2023-12-27 13:59:03.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9917
  +createdAt: DateTimeImmutable @1702085397 {#4500
    date: 2023-12-09 02:29:57.0 +01:00
  }
  +editedAt: DateTimeImmutable @1703681943 {#4499
    date: 2023-12-27 13:59:03.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4517
    +avatar: null
    +cover: null
    +email: "Lemmchen@feddit.de"
    +username: "@Lemmchen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1704972802 {#4501
      date: 2024-01-11 12:33:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
    +entries: Doctrine\ORM\PersistentCollection {#4524 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
    +posts: Doctrine\ORM\PersistentCollection {#4532 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
    +follows: Doctrine\ORM\PersistentCollection {#4544 …}
    +followers: Doctrine\ORM\PersistentCollection {#4546 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
    +reports: Doctrine\ORM\PersistentCollection {#4556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
    +violations: Doctrine\ORM\PersistentCollection {#4560 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
    +awards: Doctrine\ORM\PersistentCollection {#4564 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
    +categories: Doctrine\ORM\PersistentCollection {#4568 …}
    -id: 57766
    -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
    +apId: "Lemmchen@feddit.de"
    +apProfileId: "https://feddit.de/u/Lemmchen"
    +apPublicUrl: "https://feddit.de/u/Lemmchen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Lemmchen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720787322 {#4502
      date: 2024-07-12 14:28:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697207437 {#4503
      date: 2023-10-13 16:30:37.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9971
  +width: 40
  +height: 40
  +user: App\Entity\User {#4517
    +avatar: null
    +cover: null
    +email: "Lemmchen@feddit.de"
    +username: "@Lemmchen@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1704972802 {#4501
      date: 2024-01-11 12:33:22.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
    +entries: Doctrine\ORM\PersistentCollection {#4524 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
    +posts: Doctrine\ORM\PersistentCollection {#4532 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
    +follows: Doctrine\ORM\PersistentCollection {#4544 …}
    +followers: Doctrine\ORM\PersistentCollection {#4546 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
    +reports: Doctrine\ORM\PersistentCollection {#4556 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
    +violations: Doctrine\ORM\PersistentCollection {#4560 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
    +awards: Doctrine\ORM\PersistentCollection {#4564 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
    +categories: Doctrine\ORM\PersistentCollection {#4568 …}
    -id: 57766
    -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
    +apId: "Lemmchen@feddit.de"
    +apProfileId: "https://feddit.de/u/Lemmchen"
    +apPublicUrl: "https://feddit.de/u/Lemmchen"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Lemmchen"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720787322 {#4502
      date: 2024-07-12 14:28:42.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697207437 {#4503
      date: 2023-10-13 16:30:37.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.43 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10052
  +subject: App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10109
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.75 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10349
  +comment: App\Entity\EntryComment {#4504
    +user: App\Entity\User {#4517
      +avatar: null
      +cover: null
      +email: "Lemmchen@feddit.de"
      +username: "@Lemmchen@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1704972802 {#4501
        date: 2024-01-11 12:33:22.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4522 …}
      +entries: Doctrine\ORM\PersistentCollection {#4524 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4526 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4528 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4530 …}
      +posts: Doctrine\ORM\PersistentCollection {#4532 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4534 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4536 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4538 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4540 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4542 …}
      +follows: Doctrine\ORM\PersistentCollection {#4544 …}
      +followers: Doctrine\ORM\PersistentCollection {#4546 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4548 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4550 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4552 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4554 …}
      +reports: Doctrine\ORM\PersistentCollection {#4556 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4558 …}
      +violations: Doctrine\ORM\PersistentCollection {#4560 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4562 …}
      +awards: Doctrine\ORM\PersistentCollection {#4564 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4566 …}
      +categories: Doctrine\ORM\PersistentCollection {#4568 …}
      -id: 57766
      -password: "$2y$13$TG4ZgH6JfG/3.Ss/wwXYQO15nhraPj7MX1T7k/wYKwpzcpTJ60Eiu"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4570 …}
      +apId: "Lemmchen@feddit.de"
      +apProfileId: "https://feddit.de/u/Lemmchen"
      +apPublicUrl: "https://feddit.de/u/Lemmchen"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Lemmchen"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1720787322 {#4502
        date: 2024-07-12 14:28:42.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697207437 {#4503
        date: 2023-10-13 16:30:37.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      What system are we talking about here? The `–no-preserve-root` option is part of every modern release of `rm`.\n
      \n
      Edit: Never mind, I didn’t read the post properly.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702085397 {#4498
      date: 2023-12-09 02:29:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4505 …}
    +nested: Doctrine\ORM\PersistentCollection {#4507 …}
    +votes: Doctrine\ORM\PersistentCollection {#4509 …}
    +reports: Doctrine\ORM\PersistentCollection {#4511 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4513 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4515 …}
    -id: 212422
    -bodyTs: "'didn':26 'edit':22 'everi':17 'mind':24 'modern':18 'never':23 'no-preserve-root':9 'option':13 'part':15 'post':30 'preserv':11 'proper':31 'read':28 'releas':19 'rm':21 'root':12 'system':2 'talk':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5521597"
    +editedAt: DateTimeImmutable @1703681943 {#4499
      date: 2023-12-27 13:59:03.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702085397 {#4500
      date: 2023-12-09 02:29:57.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 9.12 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10419
  +comment: App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4590
    +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
    +cover: null
    +email: "melroy@kbin.melroy.org"
    +username: "@melroy@kbin.melroy.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
      \n
      He/him 🇳🇱🏳️\u{200D}🌈\n
      \n
      [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
      """
    +lastActive: DateTime @1706066090 {#4574
      date: 2024-01-24 04:14:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
    +entries: Doctrine\ORM\PersistentCollection {#4598 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
    +posts: Doctrine\ORM\PersistentCollection {#4606 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
    +follows: Doctrine\ORM\PersistentCollection {#4618 …}
    +followers: Doctrine\ORM\PersistentCollection {#4620 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
    +reports: Doctrine\ORM\PersistentCollection {#4630 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
    +violations: Doctrine\ORM\PersistentCollection {#4634 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
    +awards: Doctrine\ORM\PersistentCollection {#4638 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
    +categories: Doctrine\ORM\PersistentCollection {#4642 …}
    -id: 13468
    -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
    +apId: "melroy@kbin.melroy.org"
    +apProfileId: "https://kbin.melroy.org/u/melroy"
    +apPublicUrl: "https://kbin.melroy.org/u/melroy"
    +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
    +apInboxUrl: "https://kbin.melroy.org/f/inbox"
    +apDomain: "kbin.melroy.org"
    +apPreferredUsername: "melroy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728155913 {#4575
      date: 2024-10-05 21:18:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688171422 {#4576
      date: 2023-07-01 02:30:22.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10464
  +user: App\Entity\User {#4590
    +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
    +cover: null
    +email: "melroy@kbin.melroy.org"
    +username: "@melroy@kbin.melroy.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
      \n
      He/him 🇳🇱🏳️\u{200D}🌈\n
      \n
      [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
      """
    +lastActive: DateTime @1706066090 {#4574
      date: 2024-01-24 04:14:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
    +entries: Doctrine\ORM\PersistentCollection {#4598 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
    +posts: Doctrine\ORM\PersistentCollection {#4606 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
    +follows: Doctrine\ORM\PersistentCollection {#4618 …}
    +followers: Doctrine\ORM\PersistentCollection {#4620 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
    +reports: Doctrine\ORM\PersistentCollection {#4630 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
    +violations: Doctrine\ORM\PersistentCollection {#4634 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
    +awards: Doctrine\ORM\PersistentCollection {#4638 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
    +categories: Doctrine\ORM\PersistentCollection {#4642 …}
    -id: 13468
    -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
    +apId: "melroy@kbin.melroy.org"
    +apProfileId: "https://kbin.melroy.org/u/melroy"
    +apPublicUrl: "https://kbin.melroy.org/u/melroy"
    +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
    +apInboxUrl: "https://kbin.melroy.org/f/inbox"
    +apDomain: "kbin.melroy.org"
    +apPreferredUsername: "melroy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728155913 {#4575
      date: 2024-10-05 21:18:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688171422 {#4576
      date: 2023-07-01 02:30:22.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1702063586 {#4573
    date: 2023-12-08 20:26:26.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10519
  +date: DateTimeImmutable @1702063586 {#4573
    date: 2023-12-08 20:26:26.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702063586 {#4573
    date: 2023-12-08 20:26:26.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10573
  +createdAt: DateTimeImmutable @1702063586 {#4573
    date: 2023-12-08 20:26:26.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.38 ms
Input props
[
  "user" => App\Entity\User {#4590
    +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
    +cover: null
    +email: "melroy@kbin.melroy.org"
    +username: "@melroy@kbin.melroy.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
      \n
      He/him 🇳🇱🏳️\u{200D}🌈\n
      \n
      [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
      """
    +lastActive: DateTime @1706066090 {#4574
      date: 2024-01-24 04:14:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
    +entries: Doctrine\ORM\PersistentCollection {#4598 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
    +posts: Doctrine\ORM\PersistentCollection {#4606 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
    +follows: Doctrine\ORM\PersistentCollection {#4618 …}
    +followers: Doctrine\ORM\PersistentCollection {#4620 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
    +reports: Doctrine\ORM\PersistentCollection {#4630 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
    +violations: Doctrine\ORM\PersistentCollection {#4634 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
    +awards: Doctrine\ORM\PersistentCollection {#4638 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
    +categories: Doctrine\ORM\PersistentCollection {#4642 …}
    -id: 13468
    -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
    +apId: "melroy@kbin.melroy.org"
    +apProfileId: "https://kbin.melroy.org/u/melroy"
    +apPublicUrl: "https://kbin.melroy.org/u/melroy"
    +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
    +apInboxUrl: "https://kbin.melroy.org/f/inbox"
    +apDomain: "kbin.melroy.org"
    +apPreferredUsername: "melroy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728155913 {#4575
      date: 2024-10-05 21:18:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688171422 {#4576
      date: 2023-07-01 02:30:22.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10627
  +width: 40
  +height: 40
  +user: App\Entity\User {#4590
    +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
    +cover: null
    +email: "melroy@kbin.melroy.org"
    +username: "@melroy@kbin.melroy.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
      \n
      He/him 🇳🇱🏳️\u{200D}🌈\n
      \n
      [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
      """
    +lastActive: DateTime @1706066090 {#4574
      date: 2024-01-24 04:14:50.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
    +entries: Doctrine\ORM\PersistentCollection {#4598 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
    +posts: Doctrine\ORM\PersistentCollection {#4606 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
    +follows: Doctrine\ORM\PersistentCollection {#4618 …}
    +followers: Doctrine\ORM\PersistentCollection {#4620 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
    +reports: Doctrine\ORM\PersistentCollection {#4630 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
    +violations: Doctrine\ORM\PersistentCollection {#4634 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
    +awards: Doctrine\ORM\PersistentCollection {#4638 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
    +categories: Doctrine\ORM\PersistentCollection {#4642 …}
    -id: 13468
    -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
    +apId: "melroy@kbin.melroy.org"
    +apProfileId: "https://kbin.melroy.org/u/melroy"
    +apPublicUrl: "https://kbin.melroy.org/u/melroy"
    +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
    +apInboxUrl: "https://kbin.melroy.org/f/inbox"
    +apDomain: "kbin.melroy.org"
    +apPreferredUsername: "melroy"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728155913 {#4575
      date: 2024-10-05 21:18:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688171422 {#4576
      date: 2023-07-01 02:30:22.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.35 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10698
  +subject: App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.61 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10755
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.82 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10995
  +comment: App\Entity\EntryComment {#4577
    +user: App\Entity\User {#4590
      +avatar: Proxies\__CG__\App\Entity\Image {#4591 …}
      +cover: null
      +email: "melroy@kbin.melroy.org"
      +username: "@melroy@kbin.melroy.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Software Engineer & DevOps Architect. [Mbin contributor](https://github.com/MbinOrg/mbin) (and creator of the fork).\n
        \n
        He/him 🇳🇱🏳️\u{200D}🌈\n
        \n
        [Mastodon](https://mastodon.melroy.org/@melroy) - [Matrix](https://matrix.to/#/@melroy:melroy.org) - [Telegram](https://t.me/melroyvandenberg) - [Homepage](https://melroy.org) - [Donate me](https://melroy.org/thanks.html)
        """
      +lastActive: DateTime @1706066090 {#4574
        date: 2024-01-24 04:14:50.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4592 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4594 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4596 …}
      +entries: Doctrine\ORM\PersistentCollection {#4598 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4600 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4602 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4604 …}
      +posts: Doctrine\ORM\PersistentCollection {#4606 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4608 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4610 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4612 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4614 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4616 …}
      +follows: Doctrine\ORM\PersistentCollection {#4618 …}
      +followers: Doctrine\ORM\PersistentCollection {#4620 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4622 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4624 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4626 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4628 …}
      +reports: Doctrine\ORM\PersistentCollection {#4630 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4632 …}
      +violations: Doctrine\ORM\PersistentCollection {#4634 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4636 …}
      +awards: Doctrine\ORM\PersistentCollection {#4638 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4640 …}
      +categories: Doctrine\ORM\PersistentCollection {#4642 …}
      -id: 13468
      -password: "$2y$13$Aoh.icNZVkljmf9C731nzeYUx.L8mFR9y/5f3kdZHReOfp9pdqEGi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4644 …}
      +apId: "melroy@kbin.melroy.org"
      +apProfileId: "https://kbin.melroy.org/u/melroy"
      +apPublicUrl: "https://kbin.melroy.org/u/melroy"
      +apFollowersUrl: "https://kbin.melroy.org/u/melroy/followers"
      +apInboxUrl: "https://kbin.melroy.org/f/inbox"
      +apDomain: "kbin.melroy.org"
      +apPreferredUsername: "melroy"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728155913 {#4575
        date: 2024-10-05 21:18:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688171422 {#4576
        date: 2023-07-01 02:30:22.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Sure. Just restore my proxmox vm backup. I got it running again in to time if needed."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1702063586 {#4572
      date: 2023-12-08 20:26:26.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4578 …}
    +nested: Doctrine\ORM\PersistentCollection {#4580 …}
    +votes: Doctrine\ORM\PersistentCollection {#4582 …}
    +reports: Doctrine\ORM\PersistentCollection {#4584 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4586 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4588 …}
    -id: 211393
    -bodyTs: "'backup':7 'got':9 'need':17 'proxmox':5 'restor':3 'run':11 'sure':1 'time':15 'vm':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.melroy.org/m/linux@lemmy.ml/t/77101/-/comment/638650"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702063586 {#4573
      date: 2023-12-08 20:26:26.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 12.22 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#11065
  +comment: App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4664
    +avatar: null
    +cover: null
    +email: "virr@lemmy.world"
    +username: "@virr@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703491666 {#4648
      date: 2023-12-25 09:07:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
    +entries: Doctrine\ORM\PersistentCollection {#4671 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
    +posts: Doctrine\ORM\PersistentCollection {#4679 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +follows: Doctrine\ORM\PersistentCollection {#4691 …}
    +followers: Doctrine\ORM\PersistentCollection {#4693 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
    +reports: Doctrine\ORM\PersistentCollection {#4703 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
    +violations: Doctrine\ORM\PersistentCollection {#4707 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
    +awards: Doctrine\ORM\PersistentCollection {#4711 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
    +categories: Doctrine\ORM\PersistentCollection {#4715 …}
    -id: 37568
    -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
    +apId: "virr@lemmy.world"
    +apProfileId: "https://lemmy.world/u/virr"
    +apPublicUrl: "https://lemmy.world/u/virr"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "virr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707659669 {#4649
      date: 2024-02-11 14:54:29.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690912492 {#4650
      date: 2023-08-01 19:54:52.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#11110
  +user: App\Entity\User {#4664
    +avatar: null
    +cover: null
    +email: "virr@lemmy.world"
    +username: "@virr@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703491666 {#4648
      date: 2023-12-25 09:07:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
    +entries: Doctrine\ORM\PersistentCollection {#4671 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
    +posts: Doctrine\ORM\PersistentCollection {#4679 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +follows: Doctrine\ORM\PersistentCollection {#4691 …}
    +followers: Doctrine\ORM\PersistentCollection {#4693 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
    +reports: Doctrine\ORM\PersistentCollection {#4703 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
    +violations: Doctrine\ORM\PersistentCollection {#4707 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
    +awards: Doctrine\ORM\PersistentCollection {#4711 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
    +categories: Doctrine\ORM\PersistentCollection {#4715 …}
    -id: 37568
    -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
    +apId: "virr@lemmy.world"
    +apProfileId: "https://lemmy.world/u/virr"
    +apPublicUrl: "https://lemmy.world/u/virr"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "virr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707659669 {#4649
      date: 2024-02-11 14:54:29.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690912492 {#4650
      date: 2023-08-01 19:54:52.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1702061320 {#4647
    date: 2023-12-08 19:48:40.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#11165
  +date: DateTimeImmutable @1702061320 {#4647
    date: 2023-12-08 19:48:40.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702061320 {#4647
    date: 2023-12-08 19:48:40.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#11219
  +createdAt: DateTimeImmutable @1702061320 {#4647
    date: 2023-12-08 19:48:40.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4664
    +avatar: null
    +cover: null
    +email: "virr@lemmy.world"
    +username: "@virr@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703491666 {#4648
      date: 2023-12-25 09:07:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
    +entries: Doctrine\ORM\PersistentCollection {#4671 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
    +posts: Doctrine\ORM\PersistentCollection {#4679 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +follows: Doctrine\ORM\PersistentCollection {#4691 …}
    +followers: Doctrine\ORM\PersistentCollection {#4693 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
    +reports: Doctrine\ORM\PersistentCollection {#4703 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
    +violations: Doctrine\ORM\PersistentCollection {#4707 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
    +awards: Doctrine\ORM\PersistentCollection {#4711 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
    +categories: Doctrine\ORM\PersistentCollection {#4715 …}
    -id: 37568
    -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
    +apId: "virr@lemmy.world"
    +apProfileId: "https://lemmy.world/u/virr"
    +apPublicUrl: "https://lemmy.world/u/virr"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "virr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707659669 {#4649
      date: 2024-02-11 14:54:29.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690912492 {#4650
      date: 2023-08-01 19:54:52.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11273
  +width: 40
  +height: 40
  +user: App\Entity\User {#4664
    +avatar: null
    +cover: null
    +email: "virr@lemmy.world"
    +username: "@virr@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703491666 {#4648
      date: 2023-12-25 09:07:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
    +entries: Doctrine\ORM\PersistentCollection {#4671 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
    +posts: Doctrine\ORM\PersistentCollection {#4679 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +follows: Doctrine\ORM\PersistentCollection {#4691 …}
    +followers: Doctrine\ORM\PersistentCollection {#4693 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
    +reports: Doctrine\ORM\PersistentCollection {#4703 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
    +violations: Doctrine\ORM\PersistentCollection {#4707 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
    +awards: Doctrine\ORM\PersistentCollection {#4711 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
    +categories: Doctrine\ORM\PersistentCollection {#4715 …}
    -id: 37568
    -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
    +apId: "virr@lemmy.world"
    +apProfileId: "https://lemmy.world/u/virr"
    +apPublicUrl: "https://lemmy.world/u/virr"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "virr"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707659669 {#4649
      date: 2024-02-11 14:54:29.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690912492 {#4650
      date: 2023-08-01 19:54:52.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.40 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#11354
  +subject: App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#11411
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.73 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#11651
  +comment: App\Entity\EntryComment {#4651
    +user: App\Entity\User {#4664
      +avatar: null
      +cover: null
      +email: "virr@lemmy.world"
      +username: "@virr@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703491666 {#4648
        date: 2023-12-25 09:07:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4665 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4667 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4669 …}
      +entries: Doctrine\ORM\PersistentCollection {#4671 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4675 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4677 …}
      +posts: Doctrine\ORM\PersistentCollection {#4679 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4681 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4683 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4685 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4687 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +follows: Doctrine\ORM\PersistentCollection {#4691 …}
      +followers: Doctrine\ORM\PersistentCollection {#4693 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4695 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4697 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4699 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4701 …}
      +reports: Doctrine\ORM\PersistentCollection {#4703 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4705 …}
      +violations: Doctrine\ORM\PersistentCollection {#4707 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4709 …}
      +awards: Doctrine\ORM\PersistentCollection {#4711 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4713 …}
      +categories: Doctrine\ORM\PersistentCollection {#4715 …}
      -id: 37568
      -password: "$2y$13$LkDhFqiWT2.fqtc0Jx1KzO5lY.apqjnmBSE7hOpoLNGa7ALzLYbaG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4717 …}
      +apId: "virr@lemmy.world"
      +apProfileId: "https://lemmy.world/u/virr"
      +apPublicUrl: "https://lemmy.world/u/virr"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "virr"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707659669 {#4649
        date: 2024-02-11 14:54:29.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690912492 {#4650
        date: 2023-08-01 19:54:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Depends on specific machine setup and how good the backup is.\n
      \n
      Backup requirements for /usr there are sticky bits set on some binaries. That needs to be preserved. In all cases soft links likely need to be preserved for things to work correctly on future package installs. Hard links can be problematic, but if you have a large enough drive or not that many it wont matter. Running package verification can be help after restore to make sure everything looks right. If running a Linux system with SELinux in enforcing mode (RHEL on many derivatives), then the security context will also need to be preserved BUT running a relabel will probably work if the security context was not included in backups. Sometimes running the relabel process wont work if there are files that needs a specific security context but are not listed in the security context database. Can’t provide more details because most of my experience with that is on systems we just replace (LSPP custom labeling resulted in systems that if you booted into permissive would then be unbootable, so they were just reinstalled once any debugging was done).\n
      \n
      For /boot things can get tricky depending on the distribution, what boot manager is used, and /boot was a separate partition or not. Basically the boot manager (probably grub) needs to know how to find the files in boot so it can load the kernel. In most cases if you restore /boot and rerun the tools to update the boot manger everything will be fine. BUT some distributions, hardware setups, or dual boot configurations are more complicated, so extra work might be needed.\n
      \n
      You didn’t mention /dev, which is all special files. These don’t need to be restored, just make sure the right processes recreate them. There are tools to do this, hopefully the packages are installed. Or boot from a rescue disk and fix it. Look up instruction for your specific distro.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702061320 {#4646
      date: 2023-12-08 19:48:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4652 …}
    +nested: Doctrine\ORM\PersistentCollection {#4654 …}
    +votes: Doctrine\ORM\PersistentCollection {#4656 …}
    +reports: Doctrine\ORM\PersistentCollection {#4658 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4660 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4662 …}
    -id: 211279
    -bodyTs: "'/boot':193,208,243 '/dev':279 '/usr':15 'also':101 'backup':10,12,121 'basic':215 'binari':23 'bit':19 'boot':175,203,217,230,251,264,312 'case':31,239 'complic':268 'configur':265 'context':99,116,138,146 'correct':43 'custom':167 'databas':147 'debug':189 'depend':1,198 'deriv':95 'detail':152 'didn':276 'disk':316 'distribut':201,259 'distro':326 'done':191 'drive':60 'dual':263 'enforc':90 'enough':59 'everyth':79,253 'experi':157 'extra':270 'file':132,228,284 'find':226 'fine':256 'fix':318 'futur':45 'get':196 'good':8 'grub':220 'hard':48 'hardwar':260 'help':73 'hope':306 'includ':119 'instal':47,310 'instruct':322 'kernel':236 'know':223 'label':168 'larg':58 'like':34 'link':33,49 'linux':85 'list':142 'load':234 'look':80,320 'lspp':166 'machin':4 'make':77,293 'manag':204,218 'manger':252 'mani':64,94 'matter':67 'mention':278 'might':272 'mode':91 'need':25,35,102,134,221,274,288 'packag':46,69,308 'partit':212 'permiss':177 'preserv':28,38,105 'probabl':111,219 'problemat':52 'process':126,297 'provid':150 'recreat':298 'reinstal':186 'relabel':109,125 'replac':165 'requir':13 'rerun':245 'rescu':315 'restor':75,242,291 'result':169 'rhel':92 'right':81,296 'run':68,83,107,123 'secur':98,115,137,145 'selinux':88 'separ':211 'set':20 'setup':5,261 'soft':32 'sometim':122 'special':283 'specif':3,136,325 'sticki':18 'sure':78,294 'system':86,162,171 'thing':40,194 'tool':247,302 'tricki':197 'unboot':181 'updat':249 'use':206 'verif':70 'wont':66,127 'work':42,112,128,271 'would':178"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5902557"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702061320 {#4647
      date: 2023-12-08 19:48:40.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 37.66 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#11721
  +comment: App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#11766
  +user: App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702056326 {#4720
    date: 2023-12-08 18:25:26.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#11821
  +date: DateTimeImmutable @1702056326 {#4720
    date: 2023-12-08 18:25:26.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702056326 {#4720
    date: 2023-12-08 18:25:26.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#11875
  +createdAt: DateTimeImmutable @1702056326 {#4720
    date: 2023-12-08 18:25:26.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11929
  +width: 40
  +height: 40
  +user: App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.36 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#12006
  +subject: App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#12063
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 31.03 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#12303
  +comment: App\Entity\EntryComment {#4724
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
      \n
      As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
      \n
      What distro are you running? That’ll help figure it out.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1703492977 {#4719
      date: 2023-12-25 09:29:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4725 …}
    +nested: Doctrine\ORM\PersistentCollection {#4727 …}
    +votes: Doctrine\ORM\PersistentCollection {#4729 …}
    +reports: Doctrine\ORM\PersistentCollection {#4731 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
    -id: 211135
    -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836231"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702056326 {#4720
      date: 2023-12-08 18:25:26.0 +01:00
    }
  }
  +nestedComments: [
    211308 => App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724}
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    211323 => App\Entity\EntryComment {#5142
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5128}
      +root: App\Entity\EntryComment {#4724}
      +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062222 {#5145
        date: 2023-12-08 20:03:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5140 …}
      +nested: Doctrine\ORM\PersistentCollection {#5138 …}
      +votes: Doctrine\ORM\PersistentCollection {#5136 …}
      +reports: Doctrine\ORM\PersistentCollection {#5152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
      -id: 211323
      -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6490081"
      +editedAt: DateTimeImmutable @1703493041 {#5148
        date: 2023-12-25 09:30:41.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702062222 {#5150
        date: 2023-12-08 20:03:42.0 +01:00
      }
    }
    211157 => App\Entity\EntryComment {#5097}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 22.24 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#12363
  +comment: App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.16 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#12410
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1702058633 {#5100
    date: 2023-12-08 19:03:53.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12465
  +date: DateTimeImmutable @1702058633 {#5100
    date: 2023-12-08 19:03:53.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702058633 {#5100
    date: 2023-12-08 19:03:53.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1703487944 {#5104
    date: 2023-12-25 08:05:44.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#12519
  +createdAt: DateTimeImmutable @1702058633 {#5100
    date: 2023-12-08 19:03:53.0 +01:00
  }
  +editedAt: DateTimeImmutable @1703487944 {#5104
    date: 2023-12-25 08:05:44.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.59 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#12573
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.42 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#12644
  +subject: App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.65 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#12701
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 16.22 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#12941
  +comment: App\Entity\EntryComment {#5097
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4724
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
        \n
        As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
        \n
        What distro are you running? That’ll help figure it out.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 6
      +score: 0
      +lastActive: DateTime @1703492977 {#4719
        date: 2023-12-25 09:29:37.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4725 …}
      +nested: Doctrine\ORM\PersistentCollection {#4727 …}
      +votes: Doctrine\ORM\PersistentCollection {#4729 …}
      +reports: Doctrine\ORM\PersistentCollection {#4731 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
      -id: 211135
      -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836231"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702056326 {#4720
        date: 2023-12-08 18:25:26.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1702058633 {#5101
      date: 2023-12-08 19:03:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5094 …}
    +nested: Doctrine\ORM\PersistentCollection {#5092 …}
    +votes: Doctrine\ORM\PersistentCollection {#5096 …}
    +reports: Doctrine\ORM\PersistentCollection {#5107 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
    -id: 211157
    -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6488813"
    +editedAt: DateTimeImmutable @1703487944 {#5104
      date: 2023-12-25 08:05:44.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702058633 {#5100
      date: 2023-12-08 19:03:53.0 +01:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 15.62 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#12996
  +comment: App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.12 ms
Input props
[
  "user" => App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13041
  +user: App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.12 ms
Input props
[
  "date" => DateTimeImmutable @1702062040 {#5126
    date: 2023-12-08 20:00:40.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#13096
  +date: DateTimeImmutable @1702062040 {#5126
    date: 2023-12-08 20:00:40.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702062040 {#5126
    date: 2023-12-08 20:00:40.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#13150
  +createdAt: DateTimeImmutable @1702062040 {#5126
    date: 2023-12-08 20:00:40.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13204
  +width: 40
  +height: 40
  +user: App\Entity\User {#4737
    +avatar: null
    +cover: null
    +email: "drwho@beehaw.org"
    +username: "@drwho@beehaw.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
      \n
      I try to post as sincerely as possible.
      """
    +lastActive: DateTime @1728809122 {#4721
      date: 2024-10-13 10:45:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
    +entries: Doctrine\ORM\PersistentCollection {#4744 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
    +posts: Doctrine\ORM\PersistentCollection {#4752 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
    +follows: Doctrine\ORM\PersistentCollection {#4764 …}
    +followers: Doctrine\ORM\PersistentCollection {#4766 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
    +reports: Doctrine\ORM\PersistentCollection {#4776 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
    +violations: Doctrine\ORM\PersistentCollection {#4780 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
    +awards: Doctrine\ORM\PersistentCollection {#4784 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
    +categories: Doctrine\ORM\PersistentCollection {#4788 …}
    -id: 11366
    -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
    +apId: "drwho@beehaw.org"
    +apProfileId: "https://beehaw.org/u/drwho"
    +apPublicUrl: "https://beehaw.org/u/drwho"
    +apFollowersUrl: null
    +apInboxUrl: "https://beehaw.org/inbox"
    +apDomain: "beehaw.org"
    +apPreferredUsername: "drwho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1724380941 {#4722
      date: 2024-08-23 04:42:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687819771 {#4723
      date: 2023-06-27 00:49:31.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#13273
  +subject: App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.72 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#13330
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 8.34 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#13570
  +comment: App\Entity\EntryComment {#5128
    +user: App\Entity\User {#4737
      +avatar: null
      +cover: null
      +email: "drwho@beehaw.org"
      +username: "@drwho@beehaw.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
        \n
        I try to post as sincerely as possible.
        """
      +lastActive: DateTime @1728809122 {#4721
        date: 2024-10-13 10:45:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
      +entries: Doctrine\ORM\PersistentCollection {#4744 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
      +posts: Doctrine\ORM\PersistentCollection {#4752 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
      +follows: Doctrine\ORM\PersistentCollection {#4764 …}
      +followers: Doctrine\ORM\PersistentCollection {#4766 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +violations: Doctrine\ORM\PersistentCollection {#4780 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
      +awards: Doctrine\ORM\PersistentCollection {#4784 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
      +categories: Doctrine\ORM\PersistentCollection {#4788 …}
      -id: 11366
      -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
      +apId: "drwho@beehaw.org"
      +apProfileId: "https://beehaw.org/u/drwho"
      +apPublicUrl: "https://beehaw.org/u/drwho"
      +apFollowersUrl: null
      +apInboxUrl: "https://beehaw.org/inbox"
      +apDomain: "beehaw.org"
      +apPreferredUsername: "drwho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1724380941 {#4722
        date: 2024-08-23 04:42:21.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687819771 {#4723
        date: 2023-06-27 00:49:31.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5097
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4724
        +user: App\Entity\User {#4737}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
          \n
          As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
          \n
          What distro are you running? That’ll help figure it out.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1703492977 {#4719
          date: 2023-12-25 09:29:37.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4725 …}
        +nested: Doctrine\ORM\PersistentCollection {#4727 …}
        +votes: Doctrine\ORM\PersistentCollection {#4729 …}
        +reports: Doctrine\ORM\PersistentCollection {#4731 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
        -id: 211135
        -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://beehaw.org/comment/1836231"
        +editedAt: null
        +createdAt: DateTimeImmutable @1702056326 {#4720
          date: 2023-12-08 18:25:26.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1702058633 {#5101
        date: 2023-12-08 19:03:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5094 …}
      +nested: Doctrine\ORM\PersistentCollection {#5092 …}
      +votes: Doctrine\ORM\PersistentCollection {#5096 …}
      +reports: Doctrine\ORM\PersistentCollection {#5107 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
      -id: 211157
      -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/6488813"
      +editedAt: DateTimeImmutable @1703487944 {#5104
        date: 2023-12-25 08:05:44.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702058633 {#5100
        date: 2023-12-08 19:03:53.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "That’s entirely valid. Good luck."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062040 {#5123
      date: 2023-12-08 20:00:40.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5120 …}
    +nested: Doctrine\ORM\PersistentCollection {#5117 …}
    +votes: Doctrine\ORM\PersistentCollection {#5115 …}
    +reports: Doctrine\ORM\PersistentCollection {#5129 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
    -id: 211308
    -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://beehaw.org/comment/1836525"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702062040 {#5126
      date: 2023-12-08 20:00:40.0 +01:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 7.64 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  "showNested" => true
  "level" => 4
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#13625
  +comment: App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 4
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13670
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1702062222 {#5150
    date: 2023-12-08 20:03:42.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#13725
  +date: DateTimeImmutable @1702062222 {#5150
    date: 2023-12-08 20:03:42.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702062222 {#5150
    date: 2023-12-08 20:03:42.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1703493041 {#5148
    date: 2023-12-25 09:30:41.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#13779
  +createdAt: DateTimeImmutable @1702062222 {#5150
    date: 2023-12-08 20:03:42.0 +01:00
  }
  +editedAt: DateTimeImmutable @1703493041 {#5148
    date: 2023-12-25 09:30:41.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.17 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#13833
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.49 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#13903
  +subject: App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.74 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#13960
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 1.46 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  "level" => 4
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#14200
  +comment: App\Entity\EntryComment {#5142
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
      +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
      +email: "HiddenLayer5@lemmy.ml"
      +username: "@HiddenLayer5@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
        \n
        Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
        \n
        Discord: LinuxFennekin#5514\n
        \n
        Reddit: /u/HiddenLayer5
        """
      +lastActive: DateTime @1712619478 {#1536
        date: 2024-04-09 01:37:58.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
      +entries: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
      +posts: Doctrine\ORM\PersistentCollection {#1747 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
      +follows: Doctrine\ORM\PersistentCollection {#1450 …}
      +followers: Doctrine\ORM\PersistentCollection {#1634 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
      +reports: Doctrine\ORM\PersistentCollection {#1427 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
      +violations: Doctrine\ORM\PersistentCollection {#1703 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
      +awards: Doctrine\ORM\PersistentCollection {#1431 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
      +categories: Doctrine\ORM\PersistentCollection {#1641 …}
      -id: 33539
      -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
      +apId: "HiddenLayer5@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
      +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "HiddenLayer5"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1708559893 {#1515
        date: 2024-02-22 00:58:13.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690083559 {#1516
        date: 2023-07-23 05:39:19.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#5128
      +user: App\Entity\User {#4737
        +avatar: null
        +cover: null
        +email: "drwho@beehaw.org"
        +username: "@drwho@beehaw.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Living 20 minutes into the future. Eccentric weirdo. Virtual Adept. Time traveler. Thelemite. Technomage. Hacker on main. APT 3319. Not human. 30% software and implants. H+ - 0.4 on the Berram-7 scale. Furry adjacent. Pan/poly. Burnout.\n
          \n
          I try to post as sincerely as possible.
          """
        +lastActive: DateTime @1728809122 {#4721
          date: 2024-10-13 10:45:22.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4738 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4740 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4742 …}
        +entries: Doctrine\ORM\PersistentCollection {#4744 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4746 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4748 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4750 …}
        +posts: Doctrine\ORM\PersistentCollection {#4752 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4754 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4756 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4758 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4760 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4762 …}
        +follows: Doctrine\ORM\PersistentCollection {#4764 …}
        +followers: Doctrine\ORM\PersistentCollection {#4766 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4768 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4770 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4772 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4774 …}
        +reports: Doctrine\ORM\PersistentCollection {#4776 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
        +violations: Doctrine\ORM\PersistentCollection {#4780 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4782 …}
        +awards: Doctrine\ORM\PersistentCollection {#4784 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4786 …}
        +categories: Doctrine\ORM\PersistentCollection {#4788 …}
        -id: 11366
        -password: "$2y$13$dg.b/rJWeCEgFGSfUMm0Cu8iHMSQgMVgcldeXMsC7l/nfS1A.F3py"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4790 …}
        +apId: "drwho@beehaw.org"
        +apProfileId: "https://beehaw.org/u/drwho"
        +apPublicUrl: "https://beehaw.org/u/drwho"
        +apFollowersUrl: null
        +apInboxUrl: "https://beehaw.org/inbox"
        +apDomain: "beehaw.org"
        +apPreferredUsername: "drwho"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1724380941 {#4722
          date: 2024-08-23 04:42:21.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687819771 {#4723
          date: 2023-06-27 00:49:31.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#5097
        +user: Proxies\__CG__\App\Entity\User {#1970 …2}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4724
          +user: App\Entity\User {#4737}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            Your chances are pretty good if you copy them back - ultimately, that’s what the restoration function of backup software does.\n
            \n
            As for ownership of the directories and files, that’s a bit trickier and might involve some trial and error. root:root is a safe bet for most of it, but there is a lot of stuff in /var that is owned by system accounts.\n
            \n
            What distro are you running? That’ll help figure it out.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 6
          +score: 0
          +lastActive: DateTime @1703492977 {#4719
            date: 2023-12-25 09:29:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@HiddenLayer5@lemmy.ml"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4725 …}
          +nested: Doctrine\ORM\PersistentCollection {#4727 …}
          +votes: Doctrine\ORM\PersistentCollection {#4729 …}
          +reports: Doctrine\ORM\PersistentCollection {#4731 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4733 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4735 …}
          -id: 211135
          -bodyTs: "'/var':60 'account':66 'back':10 'backup':19 'bet':47 'bit':33 'chanc':2 'copi':8 'directori':27 'distro':68 'error':41 'figur':75 'file':29 'function':17 'good':5 'help':74 'involv':37 'll':73 'lot':56 'might':36 'own':63 'ownership':24 'pretti':4 'restor':16 'root':42,43 'run':71 'safe':46 'softwar':20 'stuff':58 'system':65 'trial':39 'trickier':34 'ultim':11"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://beehaw.org/comment/1836231"
          +editedAt: null
          +createdAt: DateTimeImmutable @1702056326 {#4720
            date: 2023-12-08 18:25:26.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4724}
        +body: "I’m running Fedora 39 KDE. I think I’m going to see what the file metadata of my other Fedora systems look like and try to replicate that. Worst case I just reinstall. At this point I’m a little curious how the system will react."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1702058633 {#5101
          date: 2023-12-08 19:03:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@HiddenLayer5@lemmy.ml"
          "@drwho@beehaw.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#5094 …}
        +nested: Doctrine\ORM\PersistentCollection {#5092 …}
        +votes: Doctrine\ORM\PersistentCollection {#5096 …}
        +reports: Doctrine\ORM\PersistentCollection {#5107 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5109 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5111 …}
        -id: 211157
        -bodyTs: "'39':5 'case':31 'curious':42 'fedora':4,21 'file':16 'go':11 'kde':6 'like':24 'littl':41 'look':23 'm':2,10,39 'metadata':17 'point':37 'react':47 'reinstal':34 'replic':28 'run':3 'see':13 'system':22,45 'think':8 'tri':26 'worst':30"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/6488813"
        +editedAt: DateTimeImmutable @1703487944 {#5104
          date: 2023-12-25 08:05:44.0 +01:00
        }
        +createdAt: DateTimeImmutable @1702058633 {#5100
          date: 2023-12-08 19:03:53.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4724}
      +body: "That’s entirely valid. Good luck."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1702062040 {#5123
        date: 2023-12-08 20:00:40.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@HiddenLayer5@lemmy.ml"
        "@drwho@beehaw.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#5120 …}
      +nested: Doctrine\ORM\PersistentCollection {#5117 …}
      +votes: Doctrine\ORM\PersistentCollection {#5115 …}
      +reports: Doctrine\ORM\PersistentCollection {#5129 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5131 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5133 …}
      -id: 211308
      -bodyTs: "'entir':3 'good':5 'luck':6 'valid':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://beehaw.org/comment/1836525"
      +editedAt: null
      +createdAt: DateTimeImmutable @1702062040 {#5126
        date: 2023-12-08 20:00:40.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4724}
    +body: "Thank you! Regardless of the outcome I will update the main post with my findings in hopes giving anyone else in the same position some more info."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702062222 {#5145
      date: 2023-12-08 20:03:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
      "@drwho@beehaw.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5140 …}
    +nested: Doctrine\ORM\PersistentCollection {#5138 …}
    +votes: Doctrine\ORM\PersistentCollection {#5136 …}
    +reports: Doctrine\ORM\PersistentCollection {#5152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5156 …}
    -id: 211323
    -bodyTs: "'anyon':19 'els':20 'find':15 'give':18 'hope':17 'info':27 'main':11 'outcom':6 'posit':24 'post':12 'regardless':3 'thank':1 'updat':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6490081"
    +editedAt: DateTimeImmutable @1703493041 {#5148
      date: 2023-12-25 09:30:41.0 +01:00
    }
    +createdAt: DateTimeImmutable @1702062222 {#5150
      date: 2023-12-08 20:03:42.0 +01:00
    }
  }
  +nestedComments: []
  +level: 4
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 9.70 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#14298
  +comment: App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4810
    +avatar: null
    +cover: null
    +email: "redxef@feddit.de"
    +username: "@redxef@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703486528 {#4794
      date: 2023-12-25 07:42:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
    +entries: Doctrine\ORM\PersistentCollection {#4817 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
    +posts: Doctrine\ORM\PersistentCollection {#4825 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
    +follows: Doctrine\ORM\PersistentCollection {#4837 …}
    +followers: Doctrine\ORM\PersistentCollection {#4839 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
    +reports: Doctrine\ORM\PersistentCollection {#4849 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
    +violations: Doctrine\ORM\PersistentCollection {#4853 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
    +awards: Doctrine\ORM\PersistentCollection {#4857 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
    +categories: Doctrine\ORM\PersistentCollection {#4861 …}
    -id: 10758
    -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
    +apId: "redxef@feddit.de"
    +apProfileId: "https://feddit.de/u/redxef"
    +apPublicUrl: "https://feddit.de/u/redxef"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "redxef"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709607525 {#4795
      date: 2024-03-05 03:58:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687616448 {#4796
      date: 2023-06-24 16:20:48.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#14343
  +user: App\Entity\User {#4810
    +avatar: null
    +cover: null
    +email: "redxef@feddit.de"
    +username: "@redxef@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703486528 {#4794
      date: 2023-12-25 07:42:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
    +entries: Doctrine\ORM\PersistentCollection {#4817 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
    +posts: Doctrine\ORM\PersistentCollection {#4825 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
    +follows: Doctrine\ORM\PersistentCollection {#4837 …}
    +followers: Doctrine\ORM\PersistentCollection {#4839 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
    +reports: Doctrine\ORM\PersistentCollection {#4849 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
    +violations: Doctrine\ORM\PersistentCollection {#4853 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
    +awards: Doctrine\ORM\PersistentCollection {#4857 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
    +categories: Doctrine\ORM\PersistentCollection {#4861 …}
    -id: 10758
    -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
    +apId: "redxef@feddit.de"
    +apProfileId: "https://feddit.de/u/redxef"
    +apPublicUrl: "https://feddit.de/u/redxef"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "redxef"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709607525 {#4795
      date: 2024-03-05 03:58:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687616448 {#4796
      date: 2023-06-24 16:20:48.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.20 ms
Input props
[
  "date" => DateTimeImmutable @1702048636 {#4793
    date: 2023-12-08 16:17:16.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#14398
  +date: DateTimeImmutable @1702048636 {#4793
    date: 2023-12-08 16:17:16.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.12 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702048636 {#4793
    date: 2023-12-08 16:17:16.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#14452
  +createdAt: DateTimeImmutable @1702048636 {#4793
    date: 2023-12-08 16:17:16.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4810
    +avatar: null
    +cover: null
    +email: "redxef@feddit.de"
    +username: "@redxef@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703486528 {#4794
      date: 2023-12-25 07:42:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
    +entries: Doctrine\ORM\PersistentCollection {#4817 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
    +posts: Doctrine\ORM\PersistentCollection {#4825 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
    +follows: Doctrine\ORM\PersistentCollection {#4837 …}
    +followers: Doctrine\ORM\PersistentCollection {#4839 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
    +reports: Doctrine\ORM\PersistentCollection {#4849 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
    +violations: Doctrine\ORM\PersistentCollection {#4853 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
    +awards: Doctrine\ORM\PersistentCollection {#4857 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
    +categories: Doctrine\ORM\PersistentCollection {#4861 …}
    -id: 10758
    -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
    +apId: "redxef@feddit.de"
    +apProfileId: "https://feddit.de/u/redxef"
    +apPublicUrl: "https://feddit.de/u/redxef"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "redxef"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709607525 {#4795
      date: 2024-03-05 03:58:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687616448 {#4796
      date: 2023-06-24 16:20:48.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#14506
  +width: 40
  +height: 40
  +user: App\Entity\User {#4810
    +avatar: null
    +cover: null
    +email: "redxef@feddit.de"
    +username: "@redxef@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703486528 {#4794
      date: 2023-12-25 07:42:08.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
    +entries: Doctrine\ORM\PersistentCollection {#4817 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
    +posts: Doctrine\ORM\PersistentCollection {#4825 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
    +follows: Doctrine\ORM\PersistentCollection {#4837 …}
    +followers: Doctrine\ORM\PersistentCollection {#4839 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
    +reports: Doctrine\ORM\PersistentCollection {#4849 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
    +violations: Doctrine\ORM\PersistentCollection {#4853 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
    +awards: Doctrine\ORM\PersistentCollection {#4857 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
    +categories: Doctrine\ORM\PersistentCollection {#4861 …}
    -id: 10758
    -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
    +apId: "redxef@feddit.de"
    +apProfileId: "https://feddit.de/u/redxef"
    +apPublicUrl: "https://feddit.de/u/redxef"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "redxef"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709607525 {#4795
      date: 2024-03-05 03:58:45.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687616448 {#4796
      date: 2023-06-24 16:20:48.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.36 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#14607
  +subject: App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#14664
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.95 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#14904
  +comment: App\Entity\EntryComment {#4797
    +user: App\Entity\User {#4810
      +avatar: null
      +cover: null
      +email: "redxef@feddit.de"
      +username: "@redxef@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703486528 {#4794
        date: 2023-12-25 07:42:08.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4811 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4813 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4815 …}
      +entries: Doctrine\ORM\PersistentCollection {#4817 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4819 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4821 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4823 …}
      +posts: Doctrine\ORM\PersistentCollection {#4825 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4827 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4829 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4831 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4833 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4835 …}
      +follows: Doctrine\ORM\PersistentCollection {#4837 …}
      +followers: Doctrine\ORM\PersistentCollection {#4839 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4841 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4843 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4845 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4847 …}
      +reports: Doctrine\ORM\PersistentCollection {#4849 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4851 …}
      +violations: Doctrine\ORM\PersistentCollection {#4853 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
      +awards: Doctrine\ORM\PersistentCollection {#4857 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4859 …}
      +categories: Doctrine\ORM\PersistentCollection {#4861 …}
      -id: 10758
      -password: "$2y$13$wcEEnYoxtf7stB/OCmRcfeF9YcrtQ0tmQaSoNMF6xsQZqt9DpF.wC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4863 …}
      +apId: "redxef@feddit.de"
      +apProfileId: "https://feddit.de/u/redxef"
      +apPublicUrl: "https://feddit.de/u/redxef"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "redxef"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709607525 {#4795
        date: 2024-03-05 03:58:45.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687616448 {#4796
        date: 2023-06-24 16:20:48.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      Is anything keeping you from just reinstalling the system and mounting your home into it again (maybe the majority of your customisations live in /home too)? I feel that is a lot less of a hassle than copying files around.\n
      \n
      In principle you should be able to restore your system by just copying all of the relevant files from the backup to their correct partitions - it can’t really get any worse if it doesn’t work.\n
      \n
      For the future: A backup is only any good if you know how to restore it and tested that that actually works.\n
      \n
      Regarding the permissions: If you do a `cp fileA.txt fileB.txt` `fileB.txt` will normally be owned by the creating user. So a `sudo cp …` will create the files as root.\n
      \n
      I would personally use `rsync` with a few additional options, archive among them. This way the fs is restored exactly as it was. But that doesn’t make a whole lot of sense if the files weren’t copied that way too.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 18
    +score: 0
    +lastActive: DateTime @1702048636 {#4792
      date: 2023-12-08 16:17:16.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4798 …}
    +nested: Doctrine\ORM\PersistentCollection {#4800 …}
    +votes: Doctrine\ORM\PersistentCollection {#4802 …}
    +reports: Doctrine\ORM\PersistentCollection {#4804 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4806 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4808 …}
    -id: 211080
    -bodyTs: "'/home':25 'abl':46 'actual':98 'addit':137 'among':140 'anyth':2 'archiv':139 'around':40 'backup':61,82 'copi':38,53,167 'correct':64 'cp':107,122 'creat':117,124 'customis':22 'doesn':75,154 'exact':148 'feel':28 'file':39,58,126,164 'filea.txt':108 'fileb.txt':109,110 'fs':145 'futur':80 'get':70 'good':86 'hassl':36 'home':13 'keep':3 'know':89 'less':33 'live':23 'lot':32,159 'major':19 'make':156 'mayb':17 'mount':11 'normal':112 'option':138 'own':114 'partit':65 'permiss':102 'person':131 'principl':42 'realli':69 'regard':100 'reinstal':7 'relev':57 'restor':48,92,147 'root':128 'rsync':133 'sens':161 'sudo':121 'system':9,50 'test':95 'use':132 'user':118 'way':143,169 'weren':165 'whole':158 'work':77,99 'wors':72 'would':130"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/5508226"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702048636 {#4793
      date: 2023-12-08 16:17:16.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 13.49 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#14974
  +comment: App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4883
    +avatar: null
    +cover: null
    +email: "IsoKiero@sopuli.xyz"
    +username: "@IsoKiero@sopuli.xyz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726861881 {#4867
      date: 2024-09-20 21:51:21.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
    +entries: Doctrine\ORM\PersistentCollection {#4890 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
    +posts: Doctrine\ORM\PersistentCollection {#4898 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
    +follows: Doctrine\ORM\PersistentCollection {#4910 …}
    +followers: Doctrine\ORM\PersistentCollection {#4912 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
    +reports: Doctrine\ORM\PersistentCollection {#4922 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
    +violations: Doctrine\ORM\PersistentCollection {#4926 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
    +awards: Doctrine\ORM\PersistentCollection {#4930 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
    +categories: Doctrine\ORM\PersistentCollection {#4934 …}
    -id: 47371
    -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
    +apId: "IsoKiero@sopuli.xyz"
    +apProfileId: "https://sopuli.xyz/u/IsoKiero"
    +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
    +apFollowersUrl: null
    +apInboxUrl: "https://sopuli.xyz/inbox"
    +apDomain: "sopuli.xyz"
    +apPreferredUsername: "IsoKiero"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726581026 {#4868
      date: 2024-09-17 15:50:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695977616 {#4869
      date: 2023-09-29 10:53:36.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#15019
  +user: App\Entity\User {#4883
    +avatar: null
    +cover: null
    +email: "IsoKiero@sopuli.xyz"
    +username: "@IsoKiero@sopuli.xyz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726861881 {#4867
      date: 2024-09-20 21:51:21.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
    +entries: Doctrine\ORM\PersistentCollection {#4890 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
    +posts: Doctrine\ORM\PersistentCollection {#4898 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
    +follows: Doctrine\ORM\PersistentCollection {#4910 …}
    +followers: Doctrine\ORM\PersistentCollection {#4912 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
    +reports: Doctrine\ORM\PersistentCollection {#4922 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
    +violations: Doctrine\ORM\PersistentCollection {#4926 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
    +awards: Doctrine\ORM\PersistentCollection {#4930 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
    +categories: Doctrine\ORM\PersistentCollection {#4934 …}
    -id: 47371
    -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
    +apId: "IsoKiero@sopuli.xyz"
    +apProfileId: "https://sopuli.xyz/u/IsoKiero"
    +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
    +apFollowersUrl: null
    +apInboxUrl: "https://sopuli.xyz/inbox"
    +apDomain: "sopuli.xyz"
    +apPreferredUsername: "IsoKiero"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726581026 {#4868
      date: 2024-09-17 15:50:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695977616 {#4869
      date: 2023-09-29 10:53:36.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702041093 {#4866
    date: 2023-12-08 14:11:33.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#15074
  +date: DateTimeImmutable @1702041093 {#4866
    date: 2023-12-08 14:11:33.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702041093 {#4866
    date: 2023-12-08 14:11:33.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#15128
  +createdAt: DateTimeImmutable @1702041093 {#4866
    date: 2023-12-08 14:11:33.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4883
    +avatar: null
    +cover: null
    +email: "IsoKiero@sopuli.xyz"
    +username: "@IsoKiero@sopuli.xyz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726861881 {#4867
      date: 2024-09-20 21:51:21.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
    +entries: Doctrine\ORM\PersistentCollection {#4890 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
    +posts: Doctrine\ORM\PersistentCollection {#4898 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
    +follows: Doctrine\ORM\PersistentCollection {#4910 …}
    +followers: Doctrine\ORM\PersistentCollection {#4912 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
    +reports: Doctrine\ORM\PersistentCollection {#4922 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
    +violations: Doctrine\ORM\PersistentCollection {#4926 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
    +awards: Doctrine\ORM\PersistentCollection {#4930 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
    +categories: Doctrine\ORM\PersistentCollection {#4934 …}
    -id: 47371
    -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
    +apId: "IsoKiero@sopuli.xyz"
    +apProfileId: "https://sopuli.xyz/u/IsoKiero"
    +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
    +apFollowersUrl: null
    +apInboxUrl: "https://sopuli.xyz/inbox"
    +apDomain: "sopuli.xyz"
    +apPreferredUsername: "IsoKiero"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726581026 {#4868
      date: 2024-09-17 15:50:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695977616 {#4869
      date: 2023-09-29 10:53:36.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15182
  +width: 40
  +height: 40
  +user: App\Entity\User {#4883
    +avatar: null
    +cover: null
    +email: "IsoKiero@sopuli.xyz"
    +username: "@IsoKiero@sopuli.xyz"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726861881 {#4867
      date: 2024-09-20 21:51:21.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
    +entries: Doctrine\ORM\PersistentCollection {#4890 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
    +posts: Doctrine\ORM\PersistentCollection {#4898 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
    +follows: Doctrine\ORM\PersistentCollection {#4910 …}
    +followers: Doctrine\ORM\PersistentCollection {#4912 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
    +reports: Doctrine\ORM\PersistentCollection {#4922 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
    +violations: Doctrine\ORM\PersistentCollection {#4926 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
    +awards: Doctrine\ORM\PersistentCollection {#4930 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
    +categories: Doctrine\ORM\PersistentCollection {#4934 …}
    -id: 47371
    -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
    +apId: "IsoKiero@sopuli.xyz"
    +apProfileId: "https://sopuli.xyz/u/IsoKiero"
    +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
    +apFollowersUrl: null
    +apInboxUrl: "https://sopuli.xyz/inbox"
    +apDomain: "sopuli.xyz"
    +apPreferredUsername: "IsoKiero"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726581026 {#4868
      date: 2024-09-17 15:50:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1695977616 {#4869
      date: 2023-09-29 10:53:36.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.37 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#15251
  +subject: App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.75 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5460
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 1.03 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6793
  +comment: App\Entity\EntryComment {#4870
    +user: App\Entity\User {#4883
      +avatar: null
      +cover: null
      +email: "IsoKiero@sopuli.xyz"
      +username: "@IsoKiero@sopuli.xyz"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726861881 {#4867
        date: 2024-09-20 21:51:21.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4884 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4886 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4888 …}
      +entries: Doctrine\ORM\PersistentCollection {#4890 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4892 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4894 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4896 …}
      +posts: Doctrine\ORM\PersistentCollection {#4898 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4900 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4902 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4904 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4906 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4908 …}
      +follows: Doctrine\ORM\PersistentCollection {#4910 …}
      +followers: Doctrine\ORM\PersistentCollection {#4912 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4914 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4916 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4918 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4920 …}
      +reports: Doctrine\ORM\PersistentCollection {#4922 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4924 …}
      +violations: Doctrine\ORM\PersistentCollection {#4926 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4928 …}
      +awards: Doctrine\ORM\PersistentCollection {#4930 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4932 …}
      +categories: Doctrine\ORM\PersistentCollection {#4934 …}
      -id: 47371
      -password: "$2y$13$tJTh6h1VI42LOlUxz0guIOVpVfauBUR3cwtDfHlp7tumf0cmsP0E6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4936 …}
      +apId: "IsoKiero@sopuli.xyz"
      +apProfileId: "https://sopuli.xyz/u/IsoKiero"
      +apPublicUrl: "https://sopuli.xyz/u/IsoKiero"
      +apFollowersUrl: null
      +apInboxUrl: "https://sopuli.xyz/inbox"
      +apDomain: "sopuli.xyz"
      +apPreferredUsername: "IsoKiero"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726581026 {#4868
        date: 2024-09-17 15:50:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1695977616 {#4869
        date: 2023-09-29 10:53:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "That can be done, but as others mentioned, if you don’t have permissions/other attributes for the files it’s going to be a real PITA to get everything working. If I had to do that I’d just copy over the files, chown everything to root and then use package manager to reinstall everything, but even that will most likely need manual fixes and figuring out what to change and to what value will take quite a bit of time and complexity of it depends heavily on what you had running on the host, specially things under /var."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702041093 {#4865
      date: 2023-12-08 14:11:33.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4871 …}
    +nested: Doctrine\ORM\PersistentCollection {#4873 …}
    +votes: Doctrine\ORM\PersistentCollection {#4875 …}
    +reports: Doctrine\ORM\PersistentCollection {#4877 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4879 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4881 …}
    -id: 211029
    -bodyTs: "'/var':99 'attribut':15 'bit':79 'chang':70 'chown':44 'complex':83 'copi':40 'd':38 'depend':86 'done':4 'even':57 'everyth':29,45,55 'figur':66 'file':18,43 'fix':64 'get':28 'go':21 'heavili':87 'host':95 'like':61 'manag':52 'manual':63 'mention':8 'need':62 'other':7 'packag':51 'permissions/other':14 'pita':26 'quit':77 'real':25 'reinstal':54 'root':47 'run':92 'special':96 'take':76 'thing':97 'time':81 'use':50 'valu':74 'work':30"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sopuli.xyz/comment/5252339"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702041093 {#4866
      date: 2023-12-08 14:11:33.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 24.70 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10203
  +comment: App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4956
    +avatar: null
    +cover: null
    +email: "bizdelnick@lemmy.ml"
    +username: "@bizdelnick@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729132691 {#4940
      date: 2024-10-17 04:38:11.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
    +entries: Doctrine\ORM\PersistentCollection {#4963 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
    +posts: Doctrine\ORM\PersistentCollection {#4971 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
    +follows: Doctrine\ORM\PersistentCollection {#4983 …}
    +followers: Doctrine\ORM\PersistentCollection {#4985 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
    +reports: Doctrine\ORM\PersistentCollection {#4995 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
    +violations: Doctrine\ORM\PersistentCollection {#4999 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
    +awards: Doctrine\ORM\PersistentCollection {#5003 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
    +categories: Doctrine\ORM\PersistentCollection {#5007 …}
    -id: 69972
    -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
    +apId: "bizdelnick@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bizdelnick"
    +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bizdelnick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729560999 {#4941
      date: 2024-10-22 03:36:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698940379 {#4942
      date: 2023-11-02 16:52:59.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#12610
  +user: App\Entity\User {#4956
    +avatar: null
    +cover: null
    +email: "bizdelnick@lemmy.ml"
    +username: "@bizdelnick@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729132691 {#4940
      date: 2024-10-17 04:38:11.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
    +entries: Doctrine\ORM\PersistentCollection {#4963 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
    +posts: Doctrine\ORM\PersistentCollection {#4971 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
    +follows: Doctrine\ORM\PersistentCollection {#4983 …}
    +followers: Doctrine\ORM\PersistentCollection {#4985 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
    +reports: Doctrine\ORM\PersistentCollection {#4995 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
    +violations: Doctrine\ORM\PersistentCollection {#4999 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
    +awards: Doctrine\ORM\PersistentCollection {#5003 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
    +categories: Doctrine\ORM\PersistentCollection {#5007 …}
    -id: 69972
    -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
    +apId: "bizdelnick@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bizdelnick"
    +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bizdelnick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729560999 {#4941
      date: 2024-10-22 03:36:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698940379 {#4942
      date: 2023-11-02 16:52:59.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.18 ms
Input props
[
  "date" => DateTimeImmutable @1702038168 {#4939
    date: 2023-12-08 13:22:48.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#15243
  +date: DateTimeImmutable @1702038168 {#4939
    date: 2023-12-08 13:22:48.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702038168 {#4939
    date: 2023-12-08 13:22:48.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#15347
  +createdAt: DateTimeImmutable @1702038168 {#4939
    date: 2023-12-08 13:22:48.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4956
    +avatar: null
    +cover: null
    +email: "bizdelnick@lemmy.ml"
    +username: "@bizdelnick@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729132691 {#4940
      date: 2024-10-17 04:38:11.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
    +entries: Doctrine\ORM\PersistentCollection {#4963 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
    +posts: Doctrine\ORM\PersistentCollection {#4971 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
    +follows: Doctrine\ORM\PersistentCollection {#4983 …}
    +followers: Doctrine\ORM\PersistentCollection {#4985 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
    +reports: Doctrine\ORM\PersistentCollection {#4995 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
    +violations: Doctrine\ORM\PersistentCollection {#4999 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
    +awards: Doctrine\ORM\PersistentCollection {#5003 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
    +categories: Doctrine\ORM\PersistentCollection {#5007 …}
    -id: 69972
    -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
    +apId: "bizdelnick@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bizdelnick"
    +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bizdelnick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729560999 {#4941
      date: 2024-10-22 03:36:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698940379 {#4942
      date: 2023-11-02 16:52:59.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#15401
  +width: 40
  +height: 40
  +user: App\Entity\User {#4956
    +avatar: null
    +cover: null
    +email: "bizdelnick@lemmy.ml"
    +username: "@bizdelnick@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729132691 {#4940
      date: 2024-10-17 04:38:11.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
    +entries: Doctrine\ORM\PersistentCollection {#4963 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
    +posts: Doctrine\ORM\PersistentCollection {#4971 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
    +follows: Doctrine\ORM\PersistentCollection {#4983 …}
    +followers: Doctrine\ORM\PersistentCollection {#4985 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
    +reports: Doctrine\ORM\PersistentCollection {#4995 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
    +violations: Doctrine\ORM\PersistentCollection {#4999 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
    +awards: Doctrine\ORM\PersistentCollection {#5003 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
    +categories: Doctrine\ORM\PersistentCollection {#5007 …}
    -id: 69972
    -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
    +apId: "bizdelnick@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bizdelnick"
    +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bizdelnick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729560999 {#4941
      date: 2024-10-22 03:36:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698940379 {#4942
      date: 2023-11-02 16:52:59.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.43 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#15486
  +subject: App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#15543
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 18.26 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#15783
  +comment: App\Entity\EntryComment {#4943
    +user: App\Entity\User {#4956
      +avatar: null
      +cover: null
      +email: "bizdelnick@lemmy.ml"
      +username: "@bizdelnick@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729132691 {#4940
        date: 2024-10-17 04:38:11.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4957 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4959 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4961 …}
      +entries: Doctrine\ORM\PersistentCollection {#4963 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4965 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4967 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4969 …}
      +posts: Doctrine\ORM\PersistentCollection {#4971 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4973 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4975 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4977 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4979 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4981 …}
      +follows: Doctrine\ORM\PersistentCollection {#4983 …}
      +followers: Doctrine\ORM\PersistentCollection {#4985 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4987 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4989 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4991 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4993 …}
      +reports: Doctrine\ORM\PersistentCollection {#4995 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4997 …}
      +violations: Doctrine\ORM\PersistentCollection {#4999 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5001 …}
      +awards: Doctrine\ORM\PersistentCollection {#5003 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5005 …}
      +categories: Doctrine\ORM\PersistentCollection {#5007 …}
      -id: 69972
      -password: "$2y$13$CGr7IxQzToe2BmATC8Cd3ObJJrmQleZeNnXYTNdX2hZv7nioY2uJa"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5009 …}
      +apId: "bizdelnick@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bizdelnick"
      +apPublicUrl: "https://lemmy.ml/u/bizdelnick"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bizdelnick"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729560999 {#4941
        date: 2024-10-22 03:36:39.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698940379 {#4942
        date: 2023-11-02 16:52:59.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      No way, reinstall.\n
      \n
      If even file owner is not preserved (it is not always root, espetially in /var), you likely lost files’ extanded attributes an, maybe, also permissions. Without them your system won’t work normally.\n
      \n
      Then, contents of these directories must be consistent with other ones. E. g. /var contains a package manager data about packages you installed. If you installed/removed anything after creating a backup, information about this will be lost.\n
      \n
      If you created the backup while system was working, some files (espetially under /var, again) could be changed during that process, and this also makes such backup unusable. Every sysadmin knows that to create a database backup by copying files, dbms must be stopped.\n
      \n
      In future, think about restoration before planning a backup and test if this possible immediately after it is done.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1702038168 {#4938
      date: 2023-12-08 13:22:48.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4944 …}
    +nested: Doctrine\ORM\PersistentCollection {#4946 …}
    +votes: Doctrine\ORM\PersistentCollection {#4948 …}
    +reports: Doctrine\ORM\PersistentCollection {#4950 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4952 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4954 …}
    -id: 211017
    -bodyTs: "'/var':18,50,87 'also':27,97 'alway':14 'anyth':63 'attribut':24 'backup':67,78,100,110,126 'chang':91 'consist':44 'contain':51 'content':38 'copi':112 'could':89 'creat':65,76,107 'data':55 'databas':109 'dbms':114 'directori':41 'done':136 'e':48 'espeti':16,85 'even':5 'everi':102 'extand':23 'file':6,22,84,113 'futur':119 'g':49 'immedi':132 'inform':68 'instal':59 'installed/removed':62 'know':104 'like':20 'lost':21,73 'make':98 'manag':54 'mayb':26 'must':42,115 'normal':36 'one':47 'owner':7 'packag':53,57 'permiss':28 'plan':124 'possibl':131 'preserv':10 'process':94 'reinstal':3 'restor':122 'root':15 'stop':117 'sysadmin':103 'system':32,80 'test':128 'think':120 'unus':101 'way':2 'without':29 'won':33 'work':35,82"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/6481816"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702038168 {#4939
      date: 2023-12-08 13:22:48.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 41.85 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#15853
  +comment: App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#5029
    +avatar: null
    +cover: null
    +email: "bertmacho@lemm.ee"
    +username: "@bertmacho@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703485233 {#5013
      date: 2023-12-25 07:20:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
    +entries: Doctrine\ORM\PersistentCollection {#5036 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
    +posts: Doctrine\ORM\PersistentCollection {#5044 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
    +follows: Doctrine\ORM\PersistentCollection {#5056 …}
    +followers: Doctrine\ORM\PersistentCollection {#5058 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
    +reports: Doctrine\ORM\PersistentCollection {#5068 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
    +violations: Doctrine\ORM\PersistentCollection {#5072 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
    +awards: Doctrine\ORM\PersistentCollection {#5076 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
    +categories: Doctrine\ORM\PersistentCollection {#5080 …}
    -id: 72174
    -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
    +apId: "bertmacho@lemm.ee"
    +apProfileId: "https://lemm.ee/u/bertmacho"
    +apPublicUrl: "https://lemm.ee/u/bertmacho"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "bertmacho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728148505 {#5014
      date: 2024-10-05 19:15:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699243074 {#5015
      date: 2023-11-06 04:57:54.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#15898
  +user: App\Entity\User {#5029
    +avatar: null
    +cover: null
    +email: "bertmacho@lemm.ee"
    +username: "@bertmacho@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703485233 {#5013
      date: 2023-12-25 07:20:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
    +entries: Doctrine\ORM\PersistentCollection {#5036 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
    +posts: Doctrine\ORM\PersistentCollection {#5044 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
    +follows: Doctrine\ORM\PersistentCollection {#5056 …}
    +followers: Doctrine\ORM\PersistentCollection {#5058 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
    +reports: Doctrine\ORM\PersistentCollection {#5068 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
    +violations: Doctrine\ORM\PersistentCollection {#5072 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
    +awards: Doctrine\ORM\PersistentCollection {#5076 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
    +categories: Doctrine\ORM\PersistentCollection {#5080 …}
    -id: 72174
    -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
    +apId: "bertmacho@lemm.ee"
    +apProfileId: "https://lemm.ee/u/bertmacho"
    +apPublicUrl: "https://lemm.ee/u/bertmacho"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "bertmacho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728148505 {#5014
      date: 2024-10-05 19:15:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699243074 {#5015
      date: 2023-11-06 04:57:54.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1702037631 {#5012
    date: 2023-12-08 13:13:51.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#15953
  +date: DateTimeImmutable @1702037631 {#5012
    date: 2023-12-08 13:13:51.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1702037631 {#5012
    date: 2023-12-08 13:13:51.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#16007
  +createdAt: DateTimeImmutable @1702037631 {#5012
    date: 2023-12-08 13:13:51.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#5029
    +avatar: null
    +cover: null
    +email: "bertmacho@lemm.ee"
    +username: "@bertmacho@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703485233 {#5013
      date: 2023-12-25 07:20:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
    +entries: Doctrine\ORM\PersistentCollection {#5036 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
    +posts: Doctrine\ORM\PersistentCollection {#5044 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
    +follows: Doctrine\ORM\PersistentCollection {#5056 …}
    +followers: Doctrine\ORM\PersistentCollection {#5058 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
    +reports: Doctrine\ORM\PersistentCollection {#5068 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
    +violations: Doctrine\ORM\PersistentCollection {#5072 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
    +awards: Doctrine\ORM\PersistentCollection {#5076 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
    +categories: Doctrine\ORM\PersistentCollection {#5080 …}
    -id: 72174
    -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
    +apId: "bertmacho@lemm.ee"
    +apProfileId: "https://lemm.ee/u/bertmacho"
    +apPublicUrl: "https://lemm.ee/u/bertmacho"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "bertmacho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728148505 {#5014
      date: 2024-10-05 19:15:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699243074 {#5015
      date: 2023-11-06 04:57:54.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#16061
  +width: 40
  +height: 40
  +user: App\Entity\User {#5029
    +avatar: null
    +cover: null
    +email: "bertmacho@lemm.ee"
    +username: "@bertmacho@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1703485233 {#5013
      date: 2023-12-25 07:20:33.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
    +entries: Doctrine\ORM\PersistentCollection {#5036 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
    +posts: Doctrine\ORM\PersistentCollection {#5044 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
    +follows: Doctrine\ORM\PersistentCollection {#5056 …}
    +followers: Doctrine\ORM\PersistentCollection {#5058 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
    +reports: Doctrine\ORM\PersistentCollection {#5068 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
    +violations: Doctrine\ORM\PersistentCollection {#5072 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
    +awards: Doctrine\ORM\PersistentCollection {#5076 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
    +categories: Doctrine\ORM\PersistentCollection {#5080 …}
    -id: 72174
    -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
    +apId: "bertmacho@lemm.ee"
    +apProfileId: "https://lemm.ee/u/bertmacho"
    +apPublicUrl: "https://lemm.ee/u/bertmacho"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "bertmacho"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728148505 {#5014
      date: 2024-10-05 19:15:05.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699243074 {#5015
      date: 2023-11-06 04:57:54.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.36 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#16130
  +subject: App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.63 ms
Input props
[
  "subject" => App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#16187
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 9.54 ms
Input props
[
  "comment" => App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#16427
  +comment: App\Entity\EntryComment {#5016
    +user: App\Entity\User {#5029
      +avatar: null
      +cover: null
      +email: "bertmacho@lemm.ee"
      +username: "@bertmacho@lemm.ee"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1703485233 {#5013
        date: 2023-12-25 07:20:33.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#5030 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5032 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5034 …}
      +entries: Doctrine\ORM\PersistentCollection {#5036 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5038 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5040 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5042 …}
      +posts: Doctrine\ORM\PersistentCollection {#5044 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5046 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5048 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5050 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5052 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5054 …}
      +follows: Doctrine\ORM\PersistentCollection {#5056 …}
      +followers: Doctrine\ORM\PersistentCollection {#5058 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5060 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5062 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5064 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5066 …}
      +reports: Doctrine\ORM\PersistentCollection {#5068 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5070 …}
      +violations: Doctrine\ORM\PersistentCollection {#5072 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5074 …}
      +awards: Doctrine\ORM\PersistentCollection {#5076 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5078 …}
      +categories: Doctrine\ORM\PersistentCollection {#5080 …}
      -id: 72174
      -password: "$2y$13$kcV7VMmhbfYpLNfk6ayK7uuVVjkUb6jR.gPehQriuh3mN1.NbrI0S"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5082 …}
      +apId: "bertmacho@lemm.ee"
      +apProfileId: "https://lemm.ee/u/bertmacho"
      +apPublicUrl: "https://lemm.ee/u/bertmacho"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemm.ee/inbox"
      +apDomain: "lemm.ee"
      +apPreferredUsername: "bertmacho"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728148505 {#5014
        date: 2024-10-05 19:15:05.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699243074 {#5015
        date: 2023-11-06 04:57:54.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2412
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
        +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
        +email: "HiddenLayer5@lemmy.ml"
        +username: "@HiddenLayer5@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
          \n
          Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
          \n
          Discord: LinuxFennekin#5514\n
          \n
          Reddit: /u/HiddenLayer5
          """
        +lastActive: DateTime @1712619478 {#1536
          date: 2024-04-09 01:37:58.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
        +entries: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
        +posts: Doctrine\ORM\PersistentCollection {#1747 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
        +follows: Doctrine\ORM\PersistentCollection {#1450 …}
        +followers: Doctrine\ORM\PersistentCollection {#1634 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
        +reports: Doctrine\ORM\PersistentCollection {#1427 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
        +violations: Doctrine\ORM\PersistentCollection {#1703 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
        +awards: Doctrine\ORM\PersistentCollection {#1431 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
        +categories: Doctrine\ORM\PersistentCollection {#1641 …}
        -id: 33539
        -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
        +apId: "HiddenLayer5@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
        +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "HiddenLayer5"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1708559893 {#1515
          date: 2024-02-22 00:58:13.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1690083559 {#1516
          date: 2023-07-23 05:39:19.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          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).\n
          \n
          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.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#276
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#270
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#272
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Can-one-recover-from-an-accidental-rm-rf-of-system"
      +title: "Can one recover from an accidental rm -rf of system directories by copying those files back in from a backup?"
      +url: null
      +body: """
        Well I’ve joined the “accidentally trashing your system with rm -rf” club! Luckily I didn’t delete my home directory with all the things I care about, but I did delete /boot and /usr, and maybe /var (long story, boils down to me trying to delete non-system directories named those but reflexively adding the slash in front when I should not have). I have backups of those as well, so what are my prospects of recovering from this by just copying them back in using a live USB? Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.\n
        \n
        Has anyone had any luck recovering a system in this way? I’m hoping not to have to reinstall everything because I had gotten pretty cozy with the current installation.
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 38
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1702197100 {#2410
        date: 2023-12-10 09:31:40.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 21174
      -titleTs: "'accident':6 'back':16 'backup':20 'copi':13 'directori':11 'file':15 'one':2 'recov':3 'rf':8 'rm':7 'system':10"
      -bodyTs: "'/boot':33 '/usr':35 '/var':38 'accident':6 'ad':56 'also':125 'anyon':139 'assum':108 'back':86,136 'backup':68 'belong':102,114 'boil':41 'care':27 'chown':122 'club':13 'copi':84 'cozi':163 'current':166 'delet':18,32,47 'didn':16 'directori':21,51,112 'everyth':109,157 'front':60 'gotten':161 'home':20 'hope':151 'instal':167 'issu':93 'join':4 'know':128 'live':90 'long':39 'luck':142 'luckili':14 'm':150 'mayb':37 'name':52 'non':49 'non-system':48 'permiss':134 'pretti':162 'prospect':77 're':96 'recov':79,143 'reflex':55 'reinstal':156 'retain':131 'rf':12 'rm':11 'root':116 'server':100,105 'slash':58 'store':97 'stori':40 'system':9,50,145 'thing':25 'trash':7 'tri':45 'usb':91 'use':88,121 'user':106 've':3 'way':148 'well':1,72"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1702115144
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/9032262"
      +editedAt: DateTimeImmutable @1703484244 {#1850
        date: 2023-12-25 07:04:04.0 +01:00
      }
      +createdAt: DateTimeImmutable @1702028744 {#2420
        date: 2023-12-08 10:45:44.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "you dont say the o/s but if the pkg manager works, or you can add a statically compiled version, you could force reinstall all pkgs"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1702037631 {#5011
      date: 2023-12-08 13:13:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@HiddenLayer5@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#5017 …}
    +nested: Doctrine\ORM\PersistentCollection {#5019 …}
    +votes: Doctrine\ORM\PersistentCollection {#5021 …}
    +reports: Doctrine\ORM\PersistentCollection {#5023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5025 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5027 …}
    -id: 211015
    -bodyTs: "'add':15 'compil':18 'could':21 'dont':2 'forc':22 'manag':10 'o/s':5 'pkg':9 'pkgs':25 'reinstal':23 'say':3 'static':17 'version':19 'work':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/7122837"
    +editedAt: null
    +createdAt: DateTimeImmutable @1702037631 {#5012
      date: 2023-12-08 13:13:51.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.21 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#16532
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.18 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16594
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16699
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16755
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16814
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16870
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#16926
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.22 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#16984
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17047
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#17105
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#17161
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#17217
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17273
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17329
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17385
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17441
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17497
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17553
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17609
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.15 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#17665
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.26 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#17723
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 16.0 MiB 0.51 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#17801
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: Proxies\__CG__\App\Entity\Image {#1518 …}
    +cover: Proxies\__CG__\App\Entity\Image {#1519 …}
    +email: "HiddenLayer5@lemmy.ml"
    +username: "@HiddenLayer5@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      (He/him) Marxist-Leninist and amateur writer. I like cats, foxes, sci-fi, science fantasy, and Pokemon Mystery Dungeon. Message me for my roleplay ideas!\n
      \n
      Lemmygrad: [lemmygrad.ml/u/HiddenLayer5](https://lemmygrad.ml/u/HiddenLayer5)\n
      \n
      Discord: LinuxFennekin#5514\n
      \n
      Reddit: /u/HiddenLayer5
      """
    +lastActive: DateTime @1712619478 {#1536
      date: 2024-04-09 01:37:58.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1520 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1631 …}
    +entries: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1472 …}
    +posts: Doctrine\ORM\PersistentCollection {#1747 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1489 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1762 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1642 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1477 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1635 …}
    +follows: Doctrine\ORM\PersistentCollection {#1450 …}
    +followers: Doctrine\ORM\PersistentCollection {#1634 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1443 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1458 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1433 …}
    +reports: Doctrine\ORM\PersistentCollection {#1427 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1434 …}
    +violations: Doctrine\ORM\PersistentCollection {#1703 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1693 …}
    +awards: Doctrine\ORM\PersistentCollection {#1431 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1609 …}
    +categories: Doctrine\ORM\PersistentCollection {#1641 …}
    -id: 33539
    -password: "$2y$13$Rom38xutfzHBl03ExqICm.tjw6GG0Rqu5fkXGr/0g0SIvlArwO8Hq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1670 …}
    +apId: "HiddenLayer5@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/HiddenLayer5"
    +apPublicUrl: "https://lemmy.ml/u/HiddenLayer5"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "HiddenLayer5"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1708559893 {#1515
      date: 2024-02-22 00:58:13.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690083559 {#1516
      date: 2023-07-23 05:39:19.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 16.0 MiB 0.20 ms
Input props
[
  "date" => DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#17862
  +date: DateTimeImmutable @1702028744 {#2420
    date: 2023-12-08 10:45:44.0 +01:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 16.0 MiB 14.53 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#17918
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 16.0 MiB 0.47 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#17976
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 16.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#18150
  +date: DateTimeImmutable @1698929468 {#272
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 2.35 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#18209
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#18256
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18258 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18260 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18262 …}
    +entries: Doctrine\ORM\PersistentCollection {#18264 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18266 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18268 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18270 …}
    +posts: Doctrine\ORM\PersistentCollection {#18272 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18274 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18276 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18278 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18280 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18282 …}
    +follows: Doctrine\ORM\PersistentCollection {#18284 …}
    +followers: Doctrine\ORM\PersistentCollection {#18286 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18288 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18290 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18292 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18294 …}
    +reports: Doctrine\ORM\PersistentCollection {#18296 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18298 …}
    +violations: Doctrine\ORM\PersistentCollection {#18300 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18302 …}
    +awards: Doctrine\ORM\PersistentCollection {#18304 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18306 …}
    +categories: Doctrine\ORM\PersistentCollection {#18308 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18310 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#18257
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#18227
  +user: Proxies\__CG__\App\Entity\User {#18209
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#18256
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18258 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18260 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18262 …}
    +entries: Doctrine\ORM\PersistentCollection {#18264 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18266 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18268 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18270 …}
    +posts: Doctrine\ORM\PersistentCollection {#18272 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18274 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18276 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18278 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18280 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18282 …}
    +follows: Doctrine\ORM\PersistentCollection {#18284 …}
    +followers: Doctrine\ORM\PersistentCollection {#18286 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18288 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18290 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18292 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18294 …}
    +reports: Doctrine\ORM\PersistentCollection {#18296 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18298 …}
    +violations: Doctrine\ORM\PersistentCollection {#18300 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18302 …}
    +awards: Doctrine\ORM\PersistentCollection {#18304 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18306 …}
    +categories: Doctrine\ORM\PersistentCollection {#18308 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18310 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#18257
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 16.0 MiB 17.25 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#18418
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 18.0 MiB 227.52 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#18544
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 1.68 ms
Input props
[
  "user" => App\Entity\User {#20497
    +avatar: Proxies\__CG__\App\Entity\Image {#20498 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#20494
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20499 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20501 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20503 …}
    +entries: Doctrine\ORM\PersistentCollection {#20505 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20507 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20509 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20511 …}
    +posts: Doctrine\ORM\PersistentCollection {#20513 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20515 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20517 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20519 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20521 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20523 …}
    +follows: Doctrine\ORM\PersistentCollection {#20525 …}
    +followers: Doctrine\ORM\PersistentCollection {#20527 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20529 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20531 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20533 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20535 …}
    +reports: Doctrine\ORM\PersistentCollection {#20537 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20539 …}
    +violations: Doctrine\ORM\PersistentCollection {#20541 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20543 …}
    +awards: Doctrine\ORM\PersistentCollection {#20545 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20547 …}
    +categories: Doctrine\ORM\PersistentCollection {#20549 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20551 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#20495
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#20496
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#18600
  +width: 65
  +height: 65
  +user: App\Entity\User {#20497
    +avatar: Proxies\__CG__\App\Entity\Image {#20498 …}
    +cover: null
    +email: "leo@lemmy.linuxuserspace.show"
    +username: "@leo@lemmy.linuxuserspace.show"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "One half of the dudes that do the [**Linux User Space**](https://linuxuserspace.show) audio/video podcast."
    +lastActive: DateTime @1726917179 {#20494
      date: 2024-09-21 13:12:59.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20499 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20501 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20503 …}
    +entries: Doctrine\ORM\PersistentCollection {#20505 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20507 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20509 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20511 …}
    +posts: Doctrine\ORM\PersistentCollection {#20513 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20515 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20517 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20519 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20521 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20523 …}
    +follows: Doctrine\ORM\PersistentCollection {#20525 …}
    +followers: Doctrine\ORM\PersistentCollection {#20527 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20529 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20531 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20533 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20535 …}
    +reports: Doctrine\ORM\PersistentCollection {#20537 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20539 …}
    +violations: Doctrine\ORM\PersistentCollection {#20541 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20543 …}
    +awards: Doctrine\ORM\PersistentCollection {#20545 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20547 …}
    +categories: Doctrine\ORM\PersistentCollection {#20549 …}
    -id: 72648
    -password: "$2y$13$W8YhyvvVNVHZSh6lOqmhieygIfQY8gVPc2loboqaiA49bZDhTgM0e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20551 …}
    +apId: "leo@lemmy.linuxuserspace.show"
    +apProfileId: "https://lemmy.linuxuserspace.show/u/leo"
    +apPublicUrl: "https://lemmy.linuxuserspace.show/u/leo"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.linuxuserspace.show/inbox"
    +apDomain: "lemmy.linuxuserspace.show"
    +apPreferredUsername: "leo"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728021691 {#20495
      date: 2024-10-04 08:01:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699347479 {#20496
      date: 2023-11-07 09:57:59.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.33 ms
Input props
[
  "user" => App\Entity\User {#18765
    +avatar: Proxies\__CG__\App\Entity\Image {#18764 …}
    +cover: null
    +email: "tsonfeir@lemm.ee"
    +username: "@tsonfeir@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day."
    +lastActive: DateTime @1712696669 {#18768
      date: 2024-04-09 23:04:29.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18763 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18761 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18759 …}
    +entries: Doctrine\ORM\PersistentCollection {#18757 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18755 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18753 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18751 …}
    +posts: Doctrine\ORM\PersistentCollection {#18749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18747 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18745 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18743 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18741 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18739 …}
    +follows: Doctrine\ORM\PersistentCollection {#18737 …}
    +followers: Doctrine\ORM\PersistentCollection {#18735 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18733 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18731 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18729 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18727 …}
    +reports: Doctrine\ORM\PersistentCollection {#18725 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18723 …}
    +violations: Doctrine\ORM\PersistentCollection {#18721 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18719 …}
    +awards: Doctrine\ORM\PersistentCollection {#18717 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18715 …}
    +categories: Doctrine\ORM\PersistentCollection {#18713 …}
    -id: 28864
    -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18711 …}
    +apId: "tsonfeir@lemm.ee"
    +apProfileId: "https://lemm.ee/u/tsonfeir"
    +apPublicUrl: "https://lemm.ee/u/tsonfeir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "tsonfeir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709487684 {#18767
      date: 2024-03-03 18:41:24.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689443284 {#18766
      date: 2023-07-15 19:48:04.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20665
  +width: 65
  +height: 65
  +user: App\Entity\User {#18765
    +avatar: Proxies\__CG__\App\Entity\Image {#18764 …}
    +cover: null
    +email: "tsonfeir@lemm.ee"
    +username: "@tsonfeir@lemm.ee"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I woke up in the morning at 11:47, and I can’t believe I have to face the horror of another fucking day."
    +lastActive: DateTime @1712696669 {#18768
      date: 2024-04-09 23:04:29.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18763 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18761 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18759 …}
    +entries: Doctrine\ORM\PersistentCollection {#18757 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18755 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18753 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18751 …}
    +posts: Doctrine\ORM\PersistentCollection {#18749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18747 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18745 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18743 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18741 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18739 …}
    +follows: Doctrine\ORM\PersistentCollection {#18737 …}
    +followers: Doctrine\ORM\PersistentCollection {#18735 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18733 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18731 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18729 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18727 …}
    +reports: Doctrine\ORM\PersistentCollection {#18725 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18723 …}
    +violations: Doctrine\ORM\PersistentCollection {#18721 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18719 …}
    +awards: Doctrine\ORM\PersistentCollection {#18717 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18715 …}
    +categories: Doctrine\ORM\PersistentCollection {#18713 …}
    -id: 28864
    -password: "$2y$13$17oScd/vU6XtPBQW4IhhSuhvmW5nqvCcVmroa2TDrml94enazXM6e"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18711 …}
    +apId: "tsonfeir@lemm.ee"
    +apProfileId: "https://lemm.ee/u/tsonfeir"
    +apPublicUrl: "https://lemm.ee/u/tsonfeir"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemm.ee/inbox"
    +apDomain: "lemm.ee"
    +apPreferredUsername: "tsonfeir"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709487684 {#18767
      date: 2024-03-03 18:41:24.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689443284 {#18766
      date: 2023-07-15 19:48:04.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.31 ms
Input props
[
  "user" => App\Entity\User {#20317
    +avatar: Proxies\__CG__\App\Entity\Image {#20318 …}
    +cover: Proxies\__CG__\App\Entity\Image {#20319 …}
    +email: "Corb_The_Lesser@mastodon.social"
    +username: "@Corb_The_Lesser@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "So then I said, "Yes, Chicago is a great city for shopping, but, I'm sorry, I can't help you get a visa.""
    +lastActive: DateTime @1726425116 {#20314
      date: 2024-09-15 20:31:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20320 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20322 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20324 …}
    +entries: Doctrine\ORM\PersistentCollection {#20326 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20328 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20330 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20332 …}
    +posts: Doctrine\ORM\PersistentCollection {#20334 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20336 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20338 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20340 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20342 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20344 …}
    +follows: Doctrine\ORM\PersistentCollection {#20346 …}
    +followers: Doctrine\ORM\PersistentCollection {#20348 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20350 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20352 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20354 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20356 …}
    +reports: Doctrine\ORM\PersistentCollection {#20358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20360 …}
    +violations: Doctrine\ORM\PersistentCollection {#20362 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20364 …}
    +awards: Doctrine\ORM\PersistentCollection {#20366 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20368 …}
    +categories: Doctrine\ORM\PersistentCollection {#20370 …}
    -id: 92308
    -password: "$2y$13$AZBGI.sdFvoja2rrIGxGy.iccSYoSrb53Tt2OQybZPjOrqZXW63P."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20372 …}
    +apId: "Corb_The_Lesser@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Corb_The_Lesser"
    +apPublicUrl: "https://mastodon.social/@Corb_The_Lesser"
    +apFollowersUrl: "https://mastodon.social/users/Corb_The_Lesser/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Corb_The_Lesser"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414899 {#20315
      date: 2024-09-15 17:41:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414898 {#20316
      date: 2024-09-15 17:41:38.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20722
  +width: 65
  +height: 65
  +user: App\Entity\User {#20317
    +avatar: Proxies\__CG__\App\Entity\Image {#20318 …}
    +cover: Proxies\__CG__\App\Entity\Image {#20319 …}
    +email: "Corb_The_Lesser@mastodon.social"
    +username: "@Corb_The_Lesser@mastodon.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "So then I said, "Yes, Chicago is a great city for shopping, but, I'm sorry, I can't help you get a visa.""
    +lastActive: DateTime @1726425116 {#20314
      date: 2024-09-15 20:31:56.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20320 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20322 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20324 …}
    +entries: Doctrine\ORM\PersistentCollection {#20326 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20328 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20330 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20332 …}
    +posts: Doctrine\ORM\PersistentCollection {#20334 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20336 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20338 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20340 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20342 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20344 …}
    +follows: Doctrine\ORM\PersistentCollection {#20346 …}
    +followers: Doctrine\ORM\PersistentCollection {#20348 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20350 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20352 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20354 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20356 …}
    +reports: Doctrine\ORM\PersistentCollection {#20358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20360 …}
    +violations: Doctrine\ORM\PersistentCollection {#20362 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20364 …}
    +awards: Doctrine\ORM\PersistentCollection {#20366 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20368 …}
    +categories: Doctrine\ORM\PersistentCollection {#20370 …}
    -id: 92308
    -password: "$2y$13$AZBGI.sdFvoja2rrIGxGy.iccSYoSrb53Tt2OQybZPjOrqZXW63P."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20372 …}
    +apId: "Corb_The_Lesser@mastodon.social"
    +apProfileId: "https://mastodon.social/users/Corb_The_Lesser"
    +apPublicUrl: "https://mastodon.social/@Corb_The_Lesser"
    +apFollowersUrl: "https://mastodon.social/users/Corb_The_Lesser/followers"
    +apInboxUrl: "https://mastodon.social/inbox"
    +apDomain: "mastodon.social"
    +apPreferredUsername: "Corb_The_Lesser"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414899 {#20315
      date: 2024-09-15 17:41:39.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414898 {#20316
      date: 2024-09-15 17:41:38.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#18706
    +avatar: Proxies\__CG__\App\Entity\Image {#18705 …}
    +cover: null
    +email: "ugjka@lemmy.world"
    +username: "@ugjka@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "[ugjka.net](https://ugjka.net)"
    +lastActive: DateTime @1727066920 {#18709
      date: 2024-09-23 06:48:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18704 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18702 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18700 …}
    +entries: Doctrine\ORM\PersistentCollection {#18698 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18696 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18694 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18692 …}
    +posts: Doctrine\ORM\PersistentCollection {#18690 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18688 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18686 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18682 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18680 …}
    +follows: Doctrine\ORM\PersistentCollection {#18678 …}
    +followers: Doctrine\ORM\PersistentCollection {#18676 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18674 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18672 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18670 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18668 …}
    +reports: Doctrine\ORM\PersistentCollection {#18666 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18664 …}
    +violations: Doctrine\ORM\PersistentCollection {#18662 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18660 …}
    +awards: Doctrine\ORM\PersistentCollection {#18658 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18656 …}
    +categories: Doctrine\ORM\PersistentCollection {#18654 …}
    -id: 74308
    -password: "$2y$13$cb2BJmGMcYq7Lt.blp1Qf.h.37J2bnqmlgOeEVkBEcjYku6jXxonW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18652 …}
    +apId: "ugjka@lemmy.world"
    +apProfileId: "https://lemmy.world/u/ugjka"
    +apPublicUrl: "https://lemmy.world/u/ugjka"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "ugjka"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705448316 {#18708
      date: 2024-01-17 00:38:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699716147 {#18707
      date: 2023-11-11 16:22:27.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20779
  +width: 65
  +height: 65
  +user: App\Entity\User {#18706
    +avatar: Proxies\__CG__\App\Entity\Image {#18705 …}
    +cover: null
    +email: "ugjka@lemmy.world"
    +username: "@ugjka@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "[ugjka.net](https://ugjka.net)"
    +lastActive: DateTime @1727066920 {#18709
      date: 2024-09-23 06:48:40.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18704 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18702 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18700 …}
    +entries: Doctrine\ORM\PersistentCollection {#18698 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18696 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18694 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18692 …}
    +posts: Doctrine\ORM\PersistentCollection {#18690 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18688 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18686 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18684 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18682 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18680 …}
    +follows: Doctrine\ORM\PersistentCollection {#18678 …}
    +followers: Doctrine\ORM\PersistentCollection {#18676 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18674 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18672 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18670 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18668 …}
    +reports: Doctrine\ORM\PersistentCollection {#18666 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18664 …}
    +violations: Doctrine\ORM\PersistentCollection {#18662 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18660 …}
    +awards: Doctrine\ORM\PersistentCollection {#18658 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18656 …}
    +categories: Doctrine\ORM\PersistentCollection {#18654 …}
    -id: 74308
    -password: "$2y$13$cb2BJmGMcYq7Lt.blp1Qf.h.37J2bnqmlgOeEVkBEcjYku6jXxonW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18652 …}
    +apId: "ugjka@lemmy.world"
    +apProfileId: "https://lemmy.world/u/ugjka"
    +apPublicUrl: "https://lemmy.world/u/ugjka"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "ugjka"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705448316 {#18708
      date: 2024-01-17 00:38:36.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699716147 {#18707
      date: 2023-11-11 16:22:27.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#19483
    +avatar: Proxies\__CG__\App\Entity\Image {#19484 …}
    +cover: null
    +email: "RealFknNito@lemmy.world"
    +username: "@RealFknNito@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "“Waste no more time arguing about what a good man should be. Be one.” ― Marcus Aurelius, Meditations"
    +lastActive: DateTime @1729490765 {#19480
      date: 2024-10-21 08:06:05.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19485 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19487 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19489 …}
    +entries: Doctrine\ORM\PersistentCollection {#19491 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19493 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19495 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19497 …}
    +posts: Doctrine\ORM\PersistentCollection {#19499 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19501 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19503 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19505 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19507 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19509 …}
    +follows: Doctrine\ORM\PersistentCollection {#19511 …}
    +followers: Doctrine\ORM\PersistentCollection {#19513 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19515 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19517 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19519 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19521 …}
    +reports: Doctrine\ORM\PersistentCollection {#19523 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19525 …}
    +violations: Doctrine\ORM\PersistentCollection {#19527 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19529 …}
    +awards: Doctrine\ORM\PersistentCollection {#19531 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19533 …}
    +categories: Doctrine\ORM\PersistentCollection {#19535 …}
    -id: 22913
    -password: "$2y$13$VBE8TRwN4dTVbzJCBpkRsuNHO1AeT3LtabOAWXNBCJlAnLhKnUe5K"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19537 …}
    +apId: "RealFknNito@lemmy.world"
    +apProfileId: "https://lemmy.world/u/RealFknNito"
    +apPublicUrl: "https://lemmy.world/u/RealFknNito"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "RealFknNito"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729384356 {#19481
      date: 2024-10-20 02:32:36.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689085487 {#19482
      date: 2023-07-11 16:24:47.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20836
  +width: 65
  +height: 65
  +user: App\Entity\User {#19483
    +avatar: Proxies\__CG__\App\Entity\Image {#19484 …}
    +cover: null
    +email: "RealFknNito@lemmy.world"
    +username: "@RealFknNito@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "“Waste no more time arguing about what a good man should be. Be one.” ― Marcus Aurelius, Meditations"
    +lastActive: DateTime @1729490765 {#19480
      date: 2024-10-21 08:06:05.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19485 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19487 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19489 …}
    +entries: Doctrine\ORM\PersistentCollection {#19491 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19493 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19495 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19497 …}
    +posts: Doctrine\ORM\PersistentCollection {#19499 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19501 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19503 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19505 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19507 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19509 …}
    +follows: Doctrine\ORM\PersistentCollection {#19511 …}
    +followers: Doctrine\ORM\PersistentCollection {#19513 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19515 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19517 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19519 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19521 …}
    +reports: Doctrine\ORM\PersistentCollection {#19523 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19525 …}
    +violations: Doctrine\ORM\PersistentCollection {#19527 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19529 …}
    +awards: Doctrine\ORM\PersistentCollection {#19531 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19533 …}
    +categories: Doctrine\ORM\PersistentCollection {#19535 …}
    -id: 22913
    -password: "$2y$13$VBE8TRwN4dTVbzJCBpkRsuNHO1AeT3LtabOAWXNBCJlAnLhKnUe5K"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19537 …}
    +apId: "RealFknNito@lemmy.world"
    +apProfileId: "https://lemmy.world/u/RealFknNito"
    +apPublicUrl: "https://lemmy.world/u/RealFknNito"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "RealFknNito"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729384356 {#19481
      date: 2024-10-20 02:32:36.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689085487 {#19482
      date: 2023-07-11 16:24:47.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.30 ms
Input props
[
  "user" => App\Entity\User {#19305
    +avatar: Proxies\__CG__\App\Entity\Image {#19306 …}
    +cover: null
    +email: "Atemu@lemmy.ml"
    +username: "@Atemu@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interested in Linux, FOSS, data storage systems, unfucking our society and a bit of gaming.\n
      \n
      I help maintain Nixpkgs.\n
      \n
      [github.com/Atemu](https://github.com/Atemu)  \n
      [reddit.com/u/Atemu12](https://reddit.com/u/Atemu12) (Probably won’t be active much anymore.)
      """
    +lastActive: DateTime @1729396942 {#19302
      date: 2024-10-20 06:02:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19307 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19309 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19311 …}
    +entries: Doctrine\ORM\PersistentCollection {#19313 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19315 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19317 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19319 …}
    +posts: Doctrine\ORM\PersistentCollection {#19321 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19323 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19325 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19327 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19329 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19331 …}
    +follows: Doctrine\ORM\PersistentCollection {#19333 …}
    +followers: Doctrine\ORM\PersistentCollection {#19335 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19337 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19339 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19341 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19343 …}
    +reports: Doctrine\ORM\PersistentCollection {#19345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19347 …}
    +violations: Doctrine\ORM\PersistentCollection {#19349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19351 …}
    +awards: Doctrine\ORM\PersistentCollection {#19353 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19355 …}
    +categories: Doctrine\ORM\PersistentCollection {#19357 …}
    -id: 5938
    -password: "$2y$13$JxSh1RDq/Oh88oiVcyCayeV7PKcm4JNuxZLdWnJzE./BPtMEyMCiS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19359 …}
    +apId: "Atemu@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Atemu"
    +apPublicUrl: "https://lemmy.ml/u/Atemu"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Atemu"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729164511 {#19303
      date: 2024-10-17 13:28:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687268817 {#19304
      date: 2023-06-20 15:46:57.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20893
  +width: 65
  +height: 65
  +user: App\Entity\User {#19305
    +avatar: Proxies\__CG__\App\Entity\Image {#19306 …}
    +cover: null
    +email: "Atemu@lemmy.ml"
    +username: "@Atemu@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interested in Linux, FOSS, data storage systems, unfucking our society and a bit of gaming.\n
      \n
      I help maintain Nixpkgs.\n
      \n
      [github.com/Atemu](https://github.com/Atemu)  \n
      [reddit.com/u/Atemu12](https://reddit.com/u/Atemu12) (Probably won’t be active much anymore.)
      """
    +lastActive: DateTime @1729396942 {#19302
      date: 2024-10-20 06:02:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19307 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19309 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19311 …}
    +entries: Doctrine\ORM\PersistentCollection {#19313 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19315 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19317 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19319 …}
    +posts: Doctrine\ORM\PersistentCollection {#19321 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19323 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19325 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19327 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19329 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19331 …}
    +follows: Doctrine\ORM\PersistentCollection {#19333 …}
    +followers: Doctrine\ORM\PersistentCollection {#19335 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19337 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19339 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19341 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19343 …}
    +reports: Doctrine\ORM\PersistentCollection {#19345 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19347 …}
    +violations: Doctrine\ORM\PersistentCollection {#19349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19351 …}
    +awards: Doctrine\ORM\PersistentCollection {#19353 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19355 …}
    +categories: Doctrine\ORM\PersistentCollection {#19357 …}
    -id: 5938
    -password: "$2y$13$JxSh1RDq/Oh88oiVcyCayeV7PKcm4JNuxZLdWnJzE./BPtMEyMCiS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19359 …}
    +apId: "Atemu@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Atemu"
    +apPublicUrl: "https://lemmy.ml/u/Atemu"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Atemu"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729164511 {#19303
      date: 2024-10-17 13:28:31.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687268817 {#19304
      date: 2023-06-20 15:46:57.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.33 ms
Input props
[
  "user" => App\Entity\User {#18899
    +avatar: Proxies\__CG__\App\Entity\Image {#18898 …}
    +cover: null
    +email: "learnbyexample@programming.dev"
    +username: "@learnbyexample@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim\n
      \n
      GitHub: [github.com/learnbyexample](https://github.com/learnbyexample)
      """
    +lastActive: DateTime @1722615549 {#18904
      date: 2024-08-02 18:19:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18897 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18894 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19192 …}
    +entries: Doctrine\ORM\PersistentCollection {#19194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19196 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19198 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19200 …}
    +posts: Doctrine\ORM\PersistentCollection {#19202 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19204 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19206 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19208 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19210 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19212 …}
    +follows: Doctrine\ORM\PersistentCollection {#19214 …}
    +followers: Doctrine\ORM\PersistentCollection {#19216 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19218 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19220 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19222 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19224 …}
    +reports: Doctrine\ORM\PersistentCollection {#19226 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19228 …}
    +violations: Doctrine\ORM\PersistentCollection {#19230 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19232 …}
    +awards: Doctrine\ORM\PersistentCollection {#19234 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19236 …}
    +categories: Doctrine\ORM\PersistentCollection {#19238 …}
    -id: 70667
    -password: "$2y$13$EFZjDVjmDtDatU64GaeF0ug3JHYN4QRqxGK/8n0dK86KON7nG/qfm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19240 …}
    +apId: "learnbyexample@programming.dev"
    +apProfileId: "https://programming.dev/u/learnbyexample"
    +apPublicUrl: "https://programming.dev/u/learnbyexample"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "learnbyexample"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709834846 {#18905
      date: 2024-03-07 19:07:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699023828 {#18902
      date: 2023-11-03 16:03:48.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#20950
  +width: 65
  +height: 65
  +user: App\Entity\User {#18899
    +avatar: Proxies\__CG__\App\Entity\Image {#18898 …}
    +cover: null
    +email: "learnbyexample@programming.dev"
    +username: "@learnbyexample@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim\n
      \n
      GitHub: [github.com/learnbyexample](https://github.com/learnbyexample)
      """
    +lastActive: DateTime @1722615549 {#18904
      date: 2024-08-02 18:19:09.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18897 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18894 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19192 …}
    +entries: Doctrine\ORM\PersistentCollection {#19194 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19196 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19198 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19200 …}
    +posts: Doctrine\ORM\PersistentCollection {#19202 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19204 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19206 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19208 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19210 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19212 …}
    +follows: Doctrine\ORM\PersistentCollection {#19214 …}
    +followers: Doctrine\ORM\PersistentCollection {#19216 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19218 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19220 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19222 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19224 …}
    +reports: Doctrine\ORM\PersistentCollection {#19226 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19228 …}
    +violations: Doctrine\ORM\PersistentCollection {#19230 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19232 …}
    +awards: Doctrine\ORM\PersistentCollection {#19234 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19236 …}
    +categories: Doctrine\ORM\PersistentCollection {#19238 …}
    -id: 70667
    -password: "$2y$13$EFZjDVjmDtDatU64GaeF0ug3JHYN4QRqxGK/8n0dK86KON7nG/qfm"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19240 …}
    +apId: "learnbyexample@programming.dev"
    +apProfileId: "https://programming.dev/u/learnbyexample"
    +apPublicUrl: "https://programming.dev/u/learnbyexample"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "learnbyexample"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709834846 {#18905
      date: 2024-03-07 19:07:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699023828 {#18902
      date: 2023-11-03 16:03:48.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#18963
    +avatar: Proxies\__CG__\App\Entity\Image {#18960 …}
    +cover: Proxies\__CG__\App\Entity\Image {#18961 …}
    +email: "mmstick@lemmy.world"
    +username: "@mmstick@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      I’m a System76 engineer / Pop!_OS maintainer. I’ve been a Linux user since 2007; and Rust since 2015. I’m currently working on COSMIC-related projects.\n
      \n
      - [GitHub](https://github.com/mmstick)\n
      - [Matrix](https://matrix.to/#/@mmstick:matrix.org)
      """
    +lastActive: DateTime @1729368773 {#18964
      date: 2024-10-19 22:12:53.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18958 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18956 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18954 …}
    +entries: Doctrine\ORM\PersistentCollection {#18952 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18950 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18948 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18946 …}
    +posts: Doctrine\ORM\PersistentCollection {#18944 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18942 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18940 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18938 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18936 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18934 …}
    +follows: Doctrine\ORM\PersistentCollection {#18932 …}
    +followers: Doctrine\ORM\PersistentCollection {#18930 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18928 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18926 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18924 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18922 …}
    +reports: Doctrine\ORM\PersistentCollection {#18920 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18918 …}
    +violations: Doctrine\ORM\PersistentCollection {#18916 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18914 …}
    +awards: Doctrine\ORM\PersistentCollection {#18912 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18910 …}
    +categories: Doctrine\ORM\PersistentCollection {#18908 …}
    -id: 74026
    -password: "$2y$13$0tzOHfGkn8TmN3FWcU1seu5C5MBZQpwvFmG9r2gIWIsw5gI0k2Kmi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18906 …}
    +apId: "mmstick@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mmstick"
    +apPublicUrl: "https://lemmy.world/u/mmstick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mmstick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721936035 {#18965
      date: 2024-07-25 21:33:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699662330 {#18962
      date: 2023-11-11 01:25:30.0 +01:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#21007
  +width: 65
  +height: 65
  +user: App\Entity\User {#18963
    +avatar: Proxies\__CG__\App\Entity\Image {#18960 …}
    +cover: Proxies\__CG__\App\Entity\Image {#18961 …}
    +email: "mmstick@lemmy.world"
    +username: "@mmstick@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      I’m a System76 engineer / Pop!_OS maintainer. I’ve been a Linux user since 2007; and Rust since 2015. I’m currently working on COSMIC-related projects.\n
      \n
      - [GitHub](https://github.com/mmstick)\n
      - [Matrix](https://matrix.to/#/@mmstick:matrix.org)
      """
    +lastActive: DateTime @1729368773 {#18964
      date: 2024-10-19 22:12:53.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#18958 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#18956 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#18954 …}
    +entries: Doctrine\ORM\PersistentCollection {#18952 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#18950 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#18948 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#18946 …}
    +posts: Doctrine\ORM\PersistentCollection {#18944 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#18942 …}
    +postComments: Doctrine\ORM\PersistentCollection {#18940 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#18938 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#18936 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#18934 …}
    +follows: Doctrine\ORM\PersistentCollection {#18932 …}
    +followers: Doctrine\ORM\PersistentCollection {#18930 …}
    +blocks: Doctrine\ORM\PersistentCollection {#18928 …}
    +blockers: Doctrine\ORM\PersistentCollection {#18926 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#18924 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#18922 …}
    +reports: Doctrine\ORM\PersistentCollection {#18920 …}
    +favourites: Doctrine\ORM\PersistentCollection {#18918 …}
    +violations: Doctrine\ORM\PersistentCollection {#18916 …}
    +notifications: Doctrine\ORM\PersistentCollection {#18914 …}
    +awards: Doctrine\ORM\PersistentCollection {#18912 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#18910 …}
    +categories: Doctrine\ORM\PersistentCollection {#18908 …}
    -id: 74026
    -password: "$2y$13$0tzOHfGkn8TmN3FWcU1seu5C5MBZQpwvFmG9r2gIWIsw5gI0k2Kmi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#18906 …}
    +apId: "mmstick@lemmy.world"
    +apProfileId: "https://lemmy.world/u/mmstick"
    +apPublicUrl: "https://lemmy.world/u/mmstick"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "mmstick"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721936035 {#18965
      date: 2024-07-25 21:33:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699662330 {#18962
      date: 2023-11-11 01:25:30.0 +01:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.28 ms
Input props
[
  "user" => App\Entity\User {#19245
    +avatar: Proxies\__CG__\App\Entity\Image {#19246 …}
    +cover: Proxies\__CG__\App\Entity\Image {#19247 …}
    +email: "krolden@lemmy.ml"
    +username: "@krolden@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Anyone that claims to speak on behalf of the universe is either a liar or a fool"
    +lastActive: DateTime @1728630272 {#19242
      date: 2024-10-11 09:04:32.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19250 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19252 …}
    +entries: Doctrine\ORM\PersistentCollection {#19254 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19256 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19258 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19260 …}
    +posts: Doctrine\ORM\PersistentCollection {#19262 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19264 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19266 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19268 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19270 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19272 …}
    +follows: Doctrine\ORM\PersistentCollection {#19274 …}
    +followers: Doctrine\ORM\PersistentCollection {#19276 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19278 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19280 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19282 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19284 …}
    +reports: Doctrine\ORM\PersistentCollection {#19286 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19288 …}
    +violations: Doctrine\ORM\PersistentCollection {#19290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19292 …}
    +awards: Doctrine\ORM\PersistentCollection {#19294 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19296 …}
    +categories: Doctrine\ORM\PersistentCollection {#19298 …}
    -id: 2199
    -password: "$2y$13$yB9zT3vQcs44fjXUm3hfc.GkQzpHH30ETjG2cY6bfj2ZtE/I444o."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19300 …}
    +apId: "krolden@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/krolden"
    +apPublicUrl: "https://lemmy.ml/u/krolden"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "krolden"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728257841 {#19243
      date: 2024-10-07 01:37:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687018867 {#19244
      date: 2023-06-17 18:21:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#21064
  +width: 65
  +height: 65
  +user: App\Entity\User {#19245
    +avatar: Proxies\__CG__\App\Entity\Image {#19246 …}
    +cover: Proxies\__CG__\App\Entity\Image {#19247 …}
    +email: "krolden@lemmy.ml"
    +username: "@krolden@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Anyone that claims to speak on behalf of the universe is either a liar or a fool"
    +lastActive: DateTime @1728630272 {#19242
      date: 2024-10-11 09:04:32.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19248 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19250 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19252 …}
    +entries: Doctrine\ORM\PersistentCollection {#19254 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19256 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19258 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19260 …}
    +posts: Doctrine\ORM\PersistentCollection {#19262 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19264 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19266 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19268 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19270 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19272 …}
    +follows: Doctrine\ORM\PersistentCollection {#19274 …}
    +followers: Doctrine\ORM\PersistentCollection {#19276 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19278 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19280 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19282 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19284 …}
    +reports: Doctrine\ORM\PersistentCollection {#19286 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19288 …}
    +violations: Doctrine\ORM\PersistentCollection {#19290 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19292 …}
    +awards: Doctrine\ORM\PersistentCollection {#19294 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19296 …}
    +categories: Doctrine\ORM\PersistentCollection {#19298 …}
    -id: 2199
    -password: "$2y$13$yB9zT3vQcs44fjXUm3hfc.GkQzpHH30ETjG2cY6bfj2ZtE/I444o."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19300 …}
    +apId: "krolden@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/krolden"
    +apPublicUrl: "https://lemmy.ml/u/krolden"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "krolden"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728257841 {#19243
      date: 2024-10-07 01:37:21.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687018867 {#19244
      date: 2023-06-17 18:21:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.32 ms
Input props
[
  "user" => App\Entity\User {#20018
    +avatar: Proxies\__CG__\App\Entity\Image {#20019 …}
    +cover: Proxies\__CG__\App\Entity\Image {#20020 …}
    +email: "CatLikeLemming@lemmy.blahaj.zone"
    +username: "@CatLikeLemming@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      **she/they**\n
      \n
      Bit of a mess, kinda depressed, and going through a gender identity crisis :3\n
      \n
      (Ongoing issues, brain pls fix)
      """
    +lastActive: DateTime @1726927914 {#20015
      date: 2024-09-21 16:11:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20021 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20023 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20025 …}
    +entries: Doctrine\ORM\PersistentCollection {#20027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20029 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20031 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20033 …}
    +posts: Doctrine\ORM\PersistentCollection {#20035 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20037 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20039 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20041 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20043 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20045 …}
    +follows: Doctrine\ORM\PersistentCollection {#20047 …}
    +followers: Doctrine\ORM\PersistentCollection {#20049 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20051 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20053 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20055 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20057 …}
    +reports: Doctrine\ORM\PersistentCollection {#20059 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20061 …}
    +violations: Doctrine\ORM\PersistentCollection {#20063 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20065 …}
    +awards: Doctrine\ORM\PersistentCollection {#20067 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20069 …}
    +categories: Doctrine\ORM\PersistentCollection {#20071 …}
    -id: 64621
    -password: "$2y$13$9mwKnPSwcuI6RJR0N1/zaOb.5REPJsVBU2IReGa8Zybu1HMPOOOdq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20073 …}
    +apId: "CatLikeLemming@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/CatLikeLemming"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/CatLikeLemming"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "CatLikeLemming"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720687811 {#20016
      date: 2024-07-11 10:50:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697986072 {#20017
      date: 2023-10-22 16:47:52.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#21121
  +width: 65
  +height: 65
  +user: App\Entity\User {#20018
    +avatar: Proxies\__CG__\App\Entity\Image {#20019 …}
    +cover: Proxies\__CG__\App\Entity\Image {#20020 …}
    +email: "CatLikeLemming@lemmy.blahaj.zone"
    +username: "@CatLikeLemming@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      **she/they**\n
      \n
      Bit of a mess, kinda depressed, and going through a gender identity crisis :3\n
      \n
      (Ongoing issues, brain pls fix)
      """
    +lastActive: DateTime @1726927914 {#20015
      date: 2024-09-21 16:11:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20021 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20023 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20025 …}
    +entries: Doctrine\ORM\PersistentCollection {#20027 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20029 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20031 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20033 …}
    +posts: Doctrine\ORM\PersistentCollection {#20035 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20037 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20039 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20041 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20043 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20045 …}
    +follows: Doctrine\ORM\PersistentCollection {#20047 …}
    +followers: Doctrine\ORM\PersistentCollection {#20049 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20051 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20053 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20055 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20057 …}
    +reports: Doctrine\ORM\PersistentCollection {#20059 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20061 …}
    +violations: Doctrine\ORM\PersistentCollection {#20063 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20065 …}
    +awards: Doctrine\ORM\PersistentCollection {#20067 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20069 …}
    +categories: Doctrine\ORM\PersistentCollection {#20071 …}
    -id: 64621
    -password: "$2y$13$9mwKnPSwcuI6RJR0N1/zaOb.5REPJsVBU2IReGa8Zybu1HMPOOOdq"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20073 …}
    +apId: "CatLikeLemming@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/CatLikeLemming"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/CatLikeLemming"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "CatLikeLemming"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1720687811 {#20016
      date: 2024-07-11 10:50:11.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697986072 {#20017
      date: 2023-10-22 16:47:52.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.29 ms
Input props
[
  "user" => App\Entity\User {#19839
    +avatar: Proxies\__CG__\App\Entity\Image {#19840 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#19836
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19841 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19843 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19845 …}
    +entries: Doctrine\ORM\PersistentCollection {#19847 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19849 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19851 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19853 …}
    +posts: Doctrine\ORM\PersistentCollection {#19855 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19857 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19859 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19861 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19863 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19865 …}
    +follows: Doctrine\ORM\PersistentCollection {#19867 …}
    +followers: Doctrine\ORM\PersistentCollection {#19869 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19871 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19873 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19875 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19877 …}
    +reports: Doctrine\ORM\PersistentCollection {#19879 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19881 …}
    +violations: Doctrine\ORM\PersistentCollection {#19883 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19885 …}
    +awards: Doctrine\ORM\PersistentCollection {#19887 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19889 …}
    +categories: Doctrine\ORM\PersistentCollection {#19891 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19893 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#19837
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#19838
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#21178
  +width: 65
  +height: 65
  +user: App\Entity\User {#19839
    +avatar: Proxies\__CG__\App\Entity\Image {#19840 …}
    +cover: null
    +email: "JRepin@lemmy.ml"
    +username: "@JRepin@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Digital and software freedom/rights advocate from Slovenia, Europe. Also a member of the Pirate party. You can find me on Mastodon: [@JRepin@mstdn.io](https://mstdn.io/users/JRepin)"
    +lastActive: DateTime @1712118057 {#19836
      date: 2024-04-03 06:20:57.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#19841 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#19843 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#19845 …}
    +entries: Doctrine\ORM\PersistentCollection {#19847 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#19849 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#19851 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#19853 …}
    +posts: Doctrine\ORM\PersistentCollection {#19855 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#19857 …}
    +postComments: Doctrine\ORM\PersistentCollection {#19859 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#19861 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#19863 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#19865 …}
    +follows: Doctrine\ORM\PersistentCollection {#19867 …}
    +followers: Doctrine\ORM\PersistentCollection {#19869 …}
    +blocks: Doctrine\ORM\PersistentCollection {#19871 …}
    +blockers: Doctrine\ORM\PersistentCollection {#19873 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#19875 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#19877 …}
    +reports: Doctrine\ORM\PersistentCollection {#19879 …}
    +favourites: Doctrine\ORM\PersistentCollection {#19881 …}
    +violations: Doctrine\ORM\PersistentCollection {#19883 …}
    +notifications: Doctrine\ORM\PersistentCollection {#19885 …}
    +awards: Doctrine\ORM\PersistentCollection {#19887 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#19889 …}
    +categories: Doctrine\ORM\PersistentCollection {#19891 …}
    -id: 8432
    -password: "$2y$13$NkQPCf6y3ReJWEtJdwrqBOPCnmZ/MEweAXw5TwVva5EXpWpF3hwEG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#19893 …}
    +apId: "JRepin@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/JRepin"
    +apPublicUrl: "https://lemmy.ml/u/JRepin"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "JRepin"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700420973 {#19837
      date: 2023-11-19 20:09:33.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687499209 {#19838
      date: 2023-06-23 07:46:49.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 18.0 MiB 0.30 ms
Input props
[
  "user" => App\Entity\User {#20258
    +avatar: Proxies\__CG__\App\Entity\Image {#20259 …}
    +cover: null
    +email: "keydelk@fosstodon.org"
    +username: "@keydelk@fosstodon.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I'm a father of two cool kids, husband to a most incredible woman and human servant to three cats and a dog. I work as a Business Analyst in Denver. On my spare time I like tinkering with electronics and computers, playing D&D, reading and philosophy"
    +lastActive: DateTime @1726414518 {#20255
      date: 2024-09-15 17:35:18.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20260 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20262 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20264 …}
    +entries: Doctrine\ORM\PersistentCollection {#20266 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20268 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20270 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20272 …}
    +posts: Doctrine\ORM\PersistentCollection {#20274 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20276 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20278 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20280 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20282 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20284 …}
    +follows: Doctrine\ORM\PersistentCollection {#20286 …}
    +followers: Doctrine\ORM\PersistentCollection {#20288 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20290 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20292 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20294 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20296 …}
    +reports: Doctrine\ORM\PersistentCollection {#20298 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20300 …}
    +violations: Doctrine\ORM\PersistentCollection {#20302 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20304 …}
    +awards: Doctrine\ORM\PersistentCollection {#20306 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20308 …}
    +categories: Doctrine\ORM\PersistentCollection {#20310 …}
    -id: 92307
    -password: "$2y$13$gci0FdWDGMbePkWmTw952uM6Vs6.IPUh2H25oyhsbjJkSf3g9gbBa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20312 …}
    +apId: "keydelk@fosstodon.org"
    +apProfileId: "https://fosstodon.org/users/keydelk"
    +apPublicUrl: "https://fosstodon.org/@keydelk"
    +apFollowersUrl: "https://fosstodon.org/users/keydelk/followers"
    +apInboxUrl: "https://fosstodon.org/inbox"
    +apDomain: "fosstodon.org"
    +apPreferredUsername: "keydelk"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414434 {#20256
      date: 2024-09-15 17:33:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414433 {#20257
      date: 2024-09-15 17:33:53.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#21235
  +width: 65
  +height: 65
  +user: App\Entity\User {#20258
    +avatar: Proxies\__CG__\App\Entity\Image {#20259 …}
    +cover: null
    +email: "keydelk@fosstodon.org"
    +username: "@keydelk@fosstodon.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "I'm a father of two cool kids, husband to a most incredible woman and human servant to three cats and a dog. I work as a Business Analyst in Denver. On my spare time I like tinkering with electronics and computers, playing D&D, reading and philosophy"
    +lastActive: DateTime @1726414518 {#20255
      date: 2024-09-15 17:35:18.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#20260 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#20262 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#20264 …}
    +entries: Doctrine\ORM\PersistentCollection {#20266 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#20268 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#20270 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#20272 …}
    +posts: Doctrine\ORM\PersistentCollection {#20274 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#20276 …}
    +postComments: Doctrine\ORM\PersistentCollection {#20278 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#20280 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#20282 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#20284 …}
    +follows: Doctrine\ORM\PersistentCollection {#20286 …}
    +followers: Doctrine\ORM\PersistentCollection {#20288 …}
    +blocks: Doctrine\ORM\PersistentCollection {#20290 …}
    +blockers: Doctrine\ORM\PersistentCollection {#20292 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#20294 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#20296 …}
    +reports: Doctrine\ORM\PersistentCollection {#20298 …}
    +favourites: Doctrine\ORM\PersistentCollection {#20300 …}
    +violations: Doctrine\ORM\PersistentCollection {#20302 …}
    +notifications: Doctrine\ORM\PersistentCollection {#20304 …}
    +awards: Doctrine\ORM\PersistentCollection {#20306 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#20308 …}
    +categories: Doctrine\ORM\PersistentCollection {#20310 …}
    -id: 92307
    -password: "$2y$13$gci0FdWDGMbePkWmTw952uM6Vs6.IPUh2H25oyhsbjJkSf3g9gbBa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#20312 …}
    +apId: "keydelk@fosstodon.org"
    +apProfileId: "https://fosstodon.org/users/keydelk"
    +apPublicUrl: "https://fosstodon.org/@keydelk"
    +apFollowersUrl: "https://fosstodon.org/users/keydelk/followers"
    +apInboxUrl: "https://fosstodon.org/inbox"
    +apDomain: "fosstodon.org"
    +apPreferredUsername: "keydelk"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726414434 {#20256
      date: 2024-09-15 17:33:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1726414433 {#20257
      date: 2024-09-15 17:33:53.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 18.0 MiB 3.42 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#21297
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#21298 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 18.0 MiB 1.61 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#21374
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#21375 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 18.0 MiB 1.53 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#21447
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 18.0 MiB 0.30 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#21516
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#21517 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 18.0 MiB 0.81 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#21605
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      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).\n
      \n
      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.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}