ZeroNet icon indicating copy to clipboard operation
ZeroNet copied to clipboard

Bug? I could never sign my site in terminal nor crontab without root (Permission denied)

Open styromaniac opened this issue 5 years ago • 2 comments

I couldn't manage to sign my site without root access on Linux, using terminal.

I had to resort to:

sudo crontab -e

to automate it.

Nobody yet confirmed that this is a bug.

I'm using the portable linux x86_64 bundle. It's in my home directory.

styromaniac avatar Jul 09 '20 00:07 styromaniac

I have scripts that automatically sign & publish sites using crontab + x86_64 bundle as user.

You save the script output to a file to find out what's the problem.

0 * * * * /home/user/sign_publish.sh >> /home/user/sign_publish.log 2>&1

where sign_publish.sh:

cd /home/user/ZeroNet
bash ZeroNet.sh siteSign 1anysite --publish

HelloZeroNet avatar Jul 09 '20 16:07 HelloZeroNet

I have scripts that automatically sign & publish sites using crontab + x86_64 bundle as user.

You save the script output to a file to find out what's the problem.

0 * * * * /home/user/sign_publish.sh >> /home/user/sign_publish.log 2>&1

where sign_publish.sh:

cd /home/user/ZeroNet
bash ZeroNet.sh siteSign 1anysite --publish

I've gone through this with Mg0. Maybe I should change distros? We've not figured out the source of the problem.

styromaniac avatar Jul 10 '20 00:07 styromaniac