Ticket #342 (closed defect: invalid)

Opened 10 years ago

Last modified 10 years ago

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

comment:1 Changed 10 years ago by kreed

  • Status changed from new to closed
  • Resolution set to invalid

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.

Note: See TracTickets for help on using tickets.