ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 8 months agoI never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square110linkfedilinkarrow-up1670arrow-down114
arrow-up1656arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 8 months agomessage-square110linkfedilink
minus-squareoni ᓚᘏᗢ@lemmy.worldlinkfedilinkarrow-up24arrow-down1·8 months 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·8 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.
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up4·8 months 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 /