I'm on Ubuntu 16.04LTS, and I've never seen anything like this before!
Somehow, simply dragging and dropping a directory in the Ubuntu File Manager messed up and dropped the directory flag off the file! So now the contents of my directory are inaccessible.
Forgetting for a moment how this is never supposed to happen, and not sure why it happened, how do I fix this? (this is EXT4 file system) I'm afraid to for e2fsck and get these lost chains removed or disorganized (there's a lot of files in here)
I can't find any way using 'chmod' to turn on a mode flag to mark the file as a directory. But there has to be a way to transform it back.
Ideas?
$ stat CS_DVD
File: 'CS_DVD'
Size: 38246 Blocks: 80 IO Block: 4096 regular file
Device: 807h/2055d Inode: 3801317 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ chris) Gid: ( 1000/ chris)
Access: 2021-03-24 14:54:10.639129021 -0400
Modify: 2017-12-01 00:30:20.146519924 -0500
Change: 2021-03-24 15:05:06.307454085 -0400
Birth: -
Bookmarks