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

Linux

48376 readers
1739 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
[–] uzay@infosec.pub 10 points 1 year ago (8 children)

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

[–] Zangoose@lemmy.world 10 points 1 year ago (4 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@lemmy.world 15 points 1 year ago (1 children)

It's supposed to be rwx, not rxw.

[–] Zangoose@lemmy.world 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

load more comments (2 replies)
load more comments (5 replies)