ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 3 months agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square10fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 3 months agomessage-square10fedilink
minus-squareGreenKnight23@lemmy.worldlinkfedilinkarrow-up1·edit-23 months agowhy tho? If it’s a file I have to modify once why would I run: sudo chmod 774 file.conf sudo chown myuser:myuser file.conf vi file.conf sudo chown root:root file.conf sudo chmod 644 file.conf instead of: sudo vi file.conf
why tho?
If it’s a file I have to modify once why would I run:
instead of: