Conversation
Notices
-
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 14:35:32 JST Mr. Bacon $ sudo chown respira woman
$ sudo chmod u+rw woman
$ sudo touch woman
There problem solved-
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 14:35:27 JST Mr. Bacon oh, now this is useful. -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:35:28 JST ¢нαяℓιє яσσт @Tony @narada @zero -
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 14:35:29 JST Mr. Bacon 777 does the read, write and execute if I remember correctly...i have no idea what other numbers do though
(logs into chat gpt to check) -
zero escape (zero@nightshift.social)'s status on Thursday, 21-Dec-2023 14:35:30 JST zero escape i just use 777 for everything. whats life without a little trust -
zero escape (zero@nightshift.social)'s status on Thursday, 21-Dec-2023 14:35:31 JST zero escape chmod with 3 digit number plz -
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 14:35:31 JST Mr. Bacon ugh, I can't remember what the numbers are lol. -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:36:07 JST ¢нαяℓιє яσσт @Tony @narada @zero
Even better,
https://chmod-calculator.com/† top dog :pedomustdie: likes this. -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Thursday, 21-Dec-2023 14:36:14 JST † top dog :pedomustdie: @charlie_root @Tony @narada @zero How do you make chown work on a full dir root (i know the answer) In conversation permalink -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Thursday, 21-Dec-2023 14:38:31 JST † top dog :pedomustdie: @zero @Tony @charlie_root @narada Wrong :home_fill: In conversation permalink -
zero escape (zero@nightshift.social)'s status on Thursday, 21-Dec-2023 14:38:32 JST zero escape -r / In conversation permalink -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:39:32 JST ¢нαяℓιє яσσт @Tony @narada @zero
I have this bad boy too, it's worth a read,In conversation permalink Attachments
-
zero escape (zero@nightshift.social)'s status on Thursday, 21-Dec-2023 14:39:32 JST zero escape ahhhh yeah i got that one too... I think I paid $50 for the paperback. Worth it to have physical when your system broken past opening a PDF In conversation permalink † top dog :pedomustdie: likes this. -
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 14:39:33 JST Mr. Bacon I'm book marking this bad boy. Just had an issue with app.service that took me like an hour to figure out and it was a permissions issue. In conversation permalink -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Thursday, 21-Dec-2023 14:40:13 JST † top dog :pedomustdie: @charlie_root @Tony @narada @zero Correct :pussy_on_a_pedestali: (never use sudo just su into the root user) In conversation permalink -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:40:14 JST ¢нαяℓιє яσσт @dcc @Tony @narada @zero
sudo chown -R /directoryIn conversation permalink † top dog :pedomustdie: likes this. -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:41:46 JST ¢нαяℓιє яσσт @dcc @Tony @narada @zero
Still gonna use sudo, years of habit.In conversation permalink -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Thursday, 21-Dec-2023 14:41:46 JST † top dog :pedomustdie: @charlie_root @Tony @narada @zero Lol In conversation permalink -
† top dog :pedomustdie: (dcc@annihilation.social)'s status on Thursday, 21-Dec-2023 14:52:19 JST † top dog :pedomustdie: @charlie_root @Tony @narada @zero Or you could do this tar -cxf lol/ lol.tar.gz && scp lol.tar.gz server:/ In conversation permalink -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 14:52:20 JST ¢нαяℓιє яσσт @dcc @Tony @narada @zero
Now write a command that pipes the output of tar into ssh.In conversation permalink -
¢нαяℓιє яσσт (charlie_root@decayable.ink)'s status on Thursday, 21-Dec-2023 15:05:19 JST ¢нαяℓιє яσσт @dcc @Tony @narada @zero
Back when I used to be into this, I wrote this script that dumps my home directory and pipes it into compression, so basically at the end of that command you put the ssh command for the target destination, instead of a directory.
#/bin/sh
DATE=`date "+%Y-%m-%d%n"`
mount /dev/sd2c /mnt2
rm -v /mnt2/obsd-backup/backup*
dump -0u -a -f - /home | gzip -f -c | cat - > /mnt2/obsd-backup/backup-$DATE
umount /mnt2
sysupgrade -sIn conversation permalink † top dog :pedomustdie: likes this. -
:apa: スプリットショックウイルス † (splitshockvirus@mstdn.starnix.network)'s status on Thursday, 21-Dec-2023 15:23:48 JST :apa: スプリットショックウイルス † @charlie_root @Tony @narada @zero
You remember these
Execute is 1
Write is 2
Read is 4You add the numbers to calculate the permission value. First digit is user, second is group, third is anyone else.
In conversation permalink † top dog :pedomustdie: likes this. -
vic (vic@seal.cafe)'s status on Thursday, 21-Dec-2023 15:27:57 JST vic @Tony @charlie_root @narada @zero Once you get comfortable and happy with that, you can enter the complex, obnoxious world of setfacl. In conversation permalink -
Mr. Bacon (tony@clew.lol)'s status on Thursday, 21-Dec-2023 15:28:11 JST Mr. Bacon idk what the means lol.
Why is there always more? lol
Programming sucks its so hardIn conversation permalink
-