You are not logged in.

#1 2024-03-08 14:56:58

0cto
Member
Registered: 2024-03-04
Posts: 3

Files under home directory disappeared.

I think this is the wrong topic, but I don't know where to post this. I have a directory under the user's home directory "/home/USER/Uni". It has subdirectories like "Semester_1" and under that there are different subject directories with "Slides, Assignments" directories. I had all of my data stored and ordered in that structure, but today when I looked there, all directories were empty, the directories are there but empty. How could that have happened? I am new to arch, just updated to KDE Plasma 6 and installed yay, can it be connected to that?

Last edited by 0cto (2024-03-21 12:35:02)

Offline

#2 2024-03-08 15:09:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Files under home directory disappeared.

/home is generally "reserved" for actual user directories, are you sure you didn't have it under /home/$USER/Uni ? I could see some system mechanism acting on users freaking out about a nonexisting Uni user. I'd generally say that an update to plasma is unlikely to be the cause, but by which mechanism are you checking whether files are there? Have you tried looking with the root user? What do you get from

ls -lR /home/Uni

Offline

#3 2024-03-21 12:30:01

0cto
Member
Registered: 2024-03-04
Posts: 3

Re: Files under home directory disappeared.

My bad. I was not clear in my initial post, I will edit it. The Uni folder is under /home/USER/Uni.

Offline

#4 2024-03-21 15:46:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Files under home directory disappeared.

lsblk -f
ls -lR ~/Uni

This happened bcause either
a) you deleted them
b) some bogus script deleted them (is bleachbit still a thing?)
c) filesystem corruption (btrfs,zfs,xfs  or over-aggressive trimming and maybe some crash/hard reboot)
d) the files are there, but you're looking at the wrong partition/subvolume/snapshot or they're hidden

Of course you had backups, but just in case you only had a single copy of your master thesis, 5 months of work:
https://wiki.archlinux.org/title/File_r … #Ext4Magic (probably  too late)
https://wiki.archlinux.org/title/File_r … d_PhotoRec

Online

#5 2024-03-21 15:59:03

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,952
Website

Re: Files under home directory disappeared.

Post your /etc/fstab

Offline

Board footer

Powered by FluxBB