[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

hubris

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 2

I'm so scared. I accidentally
anon@toaster:~$ rm -rf $UNDECLAREDVAR/* 

I stopped it somewhere in /etc. My debian jessie system is still running, but there's a thunderstorm outside. I have god knows how many minutes to figure out how much damage a nonroot user can do with that command and fix it. Halp.
>>
if you're not retarded and permissions were set correctly you're fine

also you're gay kill yourself
>>
>>61328855
I haven't changed any permissions. But I suddenly have many missing icons, and image files open in firefox. At least the storm moved on, so I have time to puzzle this out.
>>
If you have a Jessie ISO you could try installing it in a VM then seeing the difference in the two from the root directory and if all it did was delete some icons and shit then you can just copy them from the VM
>>
>>61328197
If you are serious I'd suggest backing up your data and reinstalling OS
>>
>>61329056
I have a system image from a few months ago I can use, if nothing else, but I don't wanna electrocute myself or even freeze my system putting the HDD in very badly. I tried
root@toaster:/home/anon# debsums -ac

It found one missing doc file that I'm reasonably sure is my doing. It also listed some config files that are still there and have manual edits I remember making. I assume if vital things were missing, it would say something else. One of the missing icons is something I cooked up myself, and both it and the
~/.local/share/applications/gaysex.desktop
file are intact.
>>61329110
My data is backed up, but my last system image is months old. I don't have a good grip on everywhere debian puts it's user config files, so it would be a pain to restore my toaster to maximum efficiency by trial and error.
>>
File: images(9).jpg (19KB, 384x384px) Image search: [Google]
images(9).jpg
19KB, 384x384px
>>61328197
>@toaster
>>
>>61328197
shoulda ${UNDECLAREDVAR:?}

scrub
>>
>>61328197
If it only touched /etc then it probably failed because root owns etc, you should list all the directories it touched then check if your user has permissions for them.
>>
For some god damned reason, my ~/.config directory got flattened. One of my missing icons was in there, and mimeapps.list lives there. Timestamps suggest to me that what was there was created by running processes since my failure. Restoring it from my shallow settings backup fixed the visible problems thus far, but how in the unholy fuck did that happen in the first place? I did run
root@toaster:/home/anon# apt-get update && apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs apt-get install

before installing debsums. That shouldn't delete ~/.config should it? It never has before.
>>61329534
I know, right?
>>61329660
>you should list all the directories it touched
I'm not sure how to do that. I didn't tee the output of my shame to a logfile or anything. I have a fraction of it left in my xterm buffer:
rm: cannot remove ‘/etc/locale.gen’: Permission denied
rm: cannot remove ‘/etc/ld.so.cache’: Permission denied
rm: cannot remove ‘/etc/resolv.conf’: Permission denied
Thread posts: 10
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.