this post was submitted on 07 Dec 2023
1131 points (98.4% liked)

memes

9615 readers
2690 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BestBouclettes@jlai.lu 3 points 9 months ago* (last edited 9 months ago)

Here is the breakdown:

  • chmod is the command to change the mode of the files (-rwxrwxrwx)
  • -R is the recurse flag,
  • a means "all", you can also have u, g or o (respectively user, group and others) instead.
  • + is add (you can remove with -),
  • rw is the permissions (rw of rwx)

I prefer changing permissions this way instead of using absolute values (0777 for instance) as it's easier to reverse if you made a mistake.