this post was submitted on 14 Mar 2024
54 points (88.6% liked)

Linux

48220 readers
642 users here now

From Wikipedia, the free encyclopedia

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).

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I removed my permissions on my downloads folder using chmod.

can anyone help restore back to default?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 8 months ago (1 children)

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

So used to seeing 4096 lol

[–] [email protected] 1 points 8 months ago (2 children)

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

[–] [email protected] 5 points 8 months ago (1 children)

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

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago) (1 children)

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

[–] [email protected] 5 points 8 months ago (1 children)

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.

[–] [email protected] 3 points 8 months ago

Ahh yeah, that makes sense. Thanks for sharing the info!

[–] [email protected] 4 points 8 months ago

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