kvic-z / pixelserv-tls

A tiny bespoke HTTP/1.1 server for adblock and accelerating web browsing.
GNU Lesser General Public License v3.0
203 stars 23 forks source link

chown failed to set owner #19

Closed rEnr3n closed 6 years ago

rEnr3n commented 6 years ago
$ pixelserv-tls 127.0.0.2 -fl -z /var/cache/pixelserv
pixelserv-tls[11028]: pixelserv-tls 2.1.2 (compiled: Sep  7 2018 01:47:55 flags: tfo) options: 127.0.0.2 -fl -z /var/cache/pixelserv
pixelserv-tls[11028]: chown failed to set owner of /tmp/pixelcerts to nobody

$ ls /tmp/pixelcerts
prw------- 1 user user 0 Sep  7 11:12 /tmp/pixelcerts

Manually changing file ownership doesn't help. I'm using archlinuxarm.

kvic-z commented 6 years ago

You need sudo. Try with sudo pixelserv-tls 127.0.0.2 -f -l 4 As an aside, default CERT_PATH is already /var/cache/pixelserv on standard Linux systems. You can omit -z

There is also an AUR package available: https://aur.archlinux.org/packages/pixelserv-tls. With this, you can start with, sudo systemctl enable pixelserv-tls.service sudo systemctl start pixelserv-tls.service Command line options could be modified in /lib/systemd/system/pixelserv-tls.service

rEnr3n commented 6 years ago

Silly me. I just forgot sudo out of all things.