need help restoring permissions on my downloads folder

Another_username@lemmy.world to Linux@lemmy.ml – 53 points –

I removed my permissions on my downloads folder using chmod.

can anyone help restore back to default?

Thanks!

39

You are viewing a single comment

I was weirded out by the 12288 filesize. If anyone else is wondering.

So used to seeing 4096 lol

Huh, I thought it's a file, but I saw it's a dir. What's up with that odd value?

So how i understood from the link it's that in those 4k all file names in that directory are stored. That space can grow if necessary but won't shrink automatically. So i assume that op has alot of files in that directory

I do have a lot of files in that directory…but music has more files and taking more space. Strange…

My reading was it wasn't based purely on number of files, but metadata related to files and stuff (idk what that is in ext4, but movies tend to be large and complex related to music). it's probably irrelevant because that's still a really small number on a modern hard drive.

I believe directories contain pointers to the nodes under them, so they get bigger with lots of things in them.