ColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 个月前I never had problems with permission again after I know the real power of sudolemmy.caimagemessage-square107fedilinkarrow-up1641arrow-down113
arrow-up1628arrow-down1imageI never had problems with permission again after I know the real power of sudolemmy.caColdWater@lemmy.ca to linuxmemes@lemmy.worldEnglish · 1 个月前message-square107fedilink
minus-squareoni ᓚᘏᗢ@lemmy.worldlinkfedilinkarrow-up24arrow-down1·1 个月前If your file is not in your home directory, you shouldn’t do chmod or chown in any other file
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up2·1 个月前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.
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.