this post was submitted on 05 Oct 2023
586 points (99.0% liked)

Linux

48372 readers
2308 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (2 children)

That's all fine and dandy, but why does it say rxw on the left?

[–] Zangoose 11 points 1 year ago (2 children)

Permissions are listed as "user", "group", "other". I.e. the user who made the file, the group of the user who made the file (usually just their name as a group), and everyone else. In this case the rxw is for the user.

For chmod, you can also represent these as binary numbers: 111 would mean having all 3, 101 would mean having read and write, etc. These binary numbers then get turned back into regular numbers (7 in the first example, since it's 111) for chmod. Giving a file "chmod 777" means the user, group, and other all have full permissions on the file. "chmod 700" gives the creator full control, but no one else can view, modify, or execute the file.

[–] redbeardgecko 15 points 1 year ago (1 children)

It's supposed to be rwx, not rxw.

[–] Zangoose 5 points 1 year ago

Oh I completely missed that lol. Oh well, it's probably still a useful explanation for someone else reading this

[–] [email protected] 6 points 1 year ago (1 children)

I feel bad for you because you were just trying to help.

[–] Zangoose 3 points 1 year ago

🤷‍♂️ They're just internet points, lemmy doesn't notify about up/downvotes so I will only see it if people respond. Either way it's hopefully still useful to someone else looking at the post who isn't familiar with basic permissions or acl

[–] mvirts 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)
[–] mvirts 3 points 1 year ago

The guide has w and x switched on the left side