Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Where to put an application database?

by DrHyde (Prior)
on Oct 17, 2014 at 11:12 UTC ( #1104168=note: print w/replies, xml ) Need Help??


in reply to Where to put an application database?

If you think that stuff getting blown away from /tmp isn't the case so much any more then you're in for a nasty surprise.

However, if your code isn't running as root, the logical place to put its data is in the application's home directory. It's fairly common for significant applications to have their own user, which has a home directory somewhere outside /home. For example my mail sewer runs as ...

Debian-exim:x:105:105::/var/spool/exim4:/bin/false

Note the home directory. Obviously this sort of thing has to be set up by root, but the application need not run as root.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1104168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2019-04-23 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (117 votes). Check out past polls.

    Notices?