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-square110linkfedilinkarrow-up1662arrow-down113
arrow-up1649arrow-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-square110linkfedilink
minus-squareoni ᓚᘏᗢ@lemmy.worldlinkfedilinkarrow-up24arrow-down1·2 months agoIf your file is not in your home directory, you shouldn’t do chmod or chown in any other file
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up4·2 months agoWhat if I make my home /
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up2·2 months agoI’ll create directories via sudo in /var/log, /var/lib etc and then chown to the user that the systemd service will be running as.
If your file is not in your home directory, you shouldn’t do chmod or chown in any other file
What if I make my home /
I’ll create directories via sudo in /var/log, /var/lib etc and then chown to the user that the systemd service will be running as.