GithubHelp home page GithubHelp logo

Comments (4)

franzlst avatar franzlst commented on September 15, 2024

The temp path was user and process id save, so please undo your commit!

For each instance of RAFCON, a new temporary directory was created, thus there are no conflicts if several instances are started (each receives its own folder) or several users are suing RAFCON, as in any case, each session receives its own folder.

Originally created by @franzlst ([email protected]) at 2016-02-23 06:46:41+00:00 (moved from RMC internal repository)

from rafcon.

franzlst avatar franzlst commented on September 15, 2024

A general path /tmp/rafcon can not be named user save as long as the path is owned by the creator. And if a process is launched not by the user it self this also results into a not process id save path.

In my case the user rights of the folder /tmp/rafcon are:
drwx------ 201 Rbelder dlr_Rbelder_p 4.0K Feb 22 17:47 rafcon/
May it is different on your PC?

The additional adding of a extra folder which use the process id its self plus a automatic generated path element is the aim for reliable recovery capabilities, in future.

Originally created by @Rbelder at 2016-02-23 07:25:51+00:00 (moved from RMC internal repository)

from rafcon.

franzlst avatar franzlst commented on September 15, 2024

As long as the actual implementation is definitely not the final one, commit acbebe15 should solve the the sub-task of user-save tmp-path in the first place.

For the final setting a structure like.

  • Path = rafcon-{user_name}/{generated_temp_folder_path}/ and lock-file in this folder would be suitable
  • The only missing information in lock-file would be the process-id -> in this case the lock-file directly could be named "pid" as it is common practice of other applications

Originally created by @Rbelder at 2016-02-23 08:18:03+00:00 (moved from RMC internal repository)

from rafcon.

franzlst avatar franzlst commented on September 15, 2024

Sub-Task 3 is now implemented for the GUI by commit ad2de37fc8c4b2831d. May it becomes extended for the core in the future, too.
Issue is closed.

Originally created by @Rbelder at 2016-05-17 16:46:20+00:00 (moved from RMC internal repository)

from rafcon.

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.