To be compliant with the FHS I'm going to install my application in usr/local and the corresponding subdirectories. Where should the application write data which persits until the next application startup?

  • 1
    probably in /var/usr/local as it is variable data – Kiwy Aug 8 '18 at 11:59
  • or ~/.app/ if the data is per user – user1133275 Aug 8 '18 at 12:46
  • What type of application is this? What is the state that needs to be saved? Is it dependent on the user that runs the application? – Kusalananda Aug 8 '18 at 15:38
  • @R3turnz you probably mean /usr/local (with a leading slash; not usr/local), no? – myrdd Aug 28 '18 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.