ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 day agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square102fedilinkarrow-up1569arrow-down113
arrow-up1556arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 day agomessage-square102fedilink
minus-squareoni ᓚᘏᗢ@lemmy.worldlinkfedilinkarrow-up24arrow-down1·22 hours agoIf your file is not in your home directory, you shouldn’t do chmod or chown in any other file
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up2·11 hours 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.
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up3·14 hours agoWhat if I make my home /
If your file is not in your home directory, you shouldn’t do chmod or chown in any other file
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.
What if I make my home /