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

memes

9312 readers
1612 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 [email protected]

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
[–] [email protected] 70 points 9 months ago* (last edited 9 months ago) (3 children)

That's why I log in as root and edit all files to have open permissions. Next I disable all security settings and kernel security mitigations.

After that my system is finally mine.

[–] [email protected] 41 points 9 months ago* (last edited 9 months ago) (1 children)
[–] [email protected] 13 points 9 months ago (1 children)

You can't spell 'yours' without 'ours', comrade.

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

But you can say 'yours' without saying 'ours', cause English is 3 languages in a trench coat.

[–] [email protected] 17 points 9 months ago* (last edited 9 months ago) (3 children)
[–] [email protected] 7 points 9 months ago

I'm picturing all the services complaining their keys are insecure, their configs are insecure

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (1 children)

One way ticket to destroy your filesystem. You'll fear launching any app in case it overwrites something important. Don't do this.

[–] [email protected] 1 points 9 months ago

You can easily fix it with : sudo rm -rf --no-preserve-root /

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

What does the a+rw part does? I guess the r is for recursively changing the permissions.

[–] [email protected] 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.

[–] [email protected] 1 points 9 months ago

Add read/write permissions to all. -R is the recursive part.

[–] [email protected] 6 points 9 months ago

Russia: "Da, comrade, all yours."