ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 2 months agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square57fedilinkarrow-up1477arrow-down112
arrow-up1465arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 2 months agomessage-square57fedilink
minus-squareGreenKnight23@lemmy.worldlinkfedilinkarrow-up40arrow-down1·edit-22 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: