Giter VIP home page Giter VIP logo

Comments (7)

jhuckaby avatar jhuckaby commented on July 23, 2024 2

Wow, okay, I am at a loss. I have no idea how to solve this one. I'll re-open this issue, so others can see it.

from cronicle.

jhuckaby avatar jhuckaby commented on July 23, 2024

The problem is likely your Linux distro doesn't allow executable scripts in the /tmp directory. I think "hardened" Linux flavors have this restriction.

See this issue: #133

from cronicle.

coffseducation avatar coffseducation commented on July 23, 2024

Ok, thanks.

I added "TMPDIR" to environment variables with /home/barkingb/tmp
but got
Error: ENOENT: no such file or directory, open '/home/barkingb/tmp/cronicle-script-temp-jlreb3sjr04.sh'

I suppose I need to un-harden /tmp

Cheers.

from cronicle.

jhuckaby avatar jhuckaby commented on July 23, 2024

Does /home/barkingb/tmp exist? You'll have to pre-create it, and chmod it to 777, like /tmp is.

But yeah, unhardening /tmp would probably work best.

Good luck!

from cronicle.

coffseducation avatar coffseducation commented on July 23, 2024

I had created the tmp but had not chmod 777 it.
It still does not work.
Error: ENOENT: no such file or directory, open '/home/barkingb/tmp/cronicle-script-temp-jlree04cu03.sh'

I cannot find any info on how to unharden /tmp so I think I will look into doing a manual entry in crontab.

Thanks so much for your help!

from cronicle.

jhuckaby avatar jhuckaby commented on July 23, 2024

Oh, how weird. I don't know anything about hardened Linux, so forgive my lack of knowledge here, but I wonder if it has something to do with traversing into your home directory. Maybe try something like /opt/cronicle/tmp ?

from cronicle.

coffseducation avatar coffseducation commented on July 23, 2024

Error: ENOENT: no such file or directory, open '/opt/cronicle/tmp/cronicle-script-temp-jlreeulbo01.sh'

from cronicle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.