hyperboria / docs

Documentation for cjdns and Hyperboria
https://docs.meshwith.me
196 stars 71 forks source link

bash: syntax error near unexpected token `umask' #68

Closed asdfghjz closed 5 years ago

asdfghjz commented 5 years ago

I'm trying to test CJDNS and see what is possible with it. But I recently started using another OS and it doesn't work.

Error Log:

@LINUX:/opt/cjdns$ sudo (umask 077 && ./cjdroute --genconf > /etc/cjdroute.conf)
bash: syntax error near unexpected token `umask'
@LINUX:/opt/cjdns$ cp contrib/systemd/cjdns.service /etc/systemd/system/
cp: cannot create regular file '/etc/systemd/system/cjdns.service': Permission denied
@LINUX:/opt/cjdns$ sudo cp contrib/systemd/cjdns.service /etc/systemd/system/
@LINUX:/opt/cjdns$ systemctl enable cjdns
Failed to execute operation: No such file or directory
@LINUX:/opt/cjdns$ systemctl start cjdns
@LINUX:/opt/cjdns$ 

Installation Steps: https://docs.meshwith.me/install/debian-jessie.html

Changes: I had to make some commands root/sudo

OS: Elementary OS

vtulin commented 5 years ago

umask should be called without sudo

kpcyrd commented 5 years ago

all commands are supposed to be executed as root