Ticket #342 (closed defect: invalid)
WORKDIR should be automatically created
| Reported by: | njw | Owned by: | ciaranm |
|---|---|---|---|
| Priority: | Sometime | Milestone: | Misc features |
| Component: | clients/paludis | Version: | 0.24.5 |
| Keywords: | directory workdir | Cc: | |
| Blocked By: | Blocking: | ||
| Distribution: |
Description
I set my WORKDIR to /tmp/workdir , which means that after a reboot the directory is gone, and I have to remake it before paludis will do anything interesting.
It seems to me that it would be far better for WORKDIR to be created if it does not exist, rather than causing paludis to exit with an error.
Change History
Note: See
TracTickets for help on using
tickets.

This is covered in the FAQ. http://paludis.pioto.org/faq.html#mkdir
You can put the command in /etc/conf.d/local.start or create a hook if it bothers you.