Ticket #156 (closed defect: invalid)

Opened 11 years ago

Last modified 10 years ago

mkdir fails if parent directory not yet existent => use mkdir --parents

Reported by: zuriel Owned by: ciaranm
Priority: MajorRelease Milestone:
Component: core/paludis Version: 0.20.1
Keywords: Cc:
Blocked By: Blocking:


the following error occurs when the directoy above the one to be created does not exist yet and can very simply be solved by changing the command to 'mkdir -p' (--parents).. Regenerating cache for x-enlightenment... Unhandled exception:

  • In program paludis --log-level qa --regenerate-installable-cache:
  • When performing cache regeneration action from command line:
  • When generating repository names cache at '/usr/portage/local/layman/enlightenment/.cache/names/x-enlightenment':
  • mkdir '/usr/portage/local/layman/enlightenment/.cache/names' failed: No such file or directory (paludis::FSError)
  • Done regenerating cache for installable repositories

Change History

comment:1 Changed 11 years ago by ciaranm

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

comment:2 Changed 11 years ago by zuriel

ehhmmm.. ooops, sorry... but could there be an option for this? I have a single user system and it does not help security alot here I guess...

comment:3 Changed 11 years ago by ciaranm

No, we're not going to make a "make my system vulnerable to privilege escalations" option.

comment:4 Changed 11 years ago by anonymous

  • Milestone 0.22.0 deleted

Milestone 0.22.0 deleted

comment:5 Changed 10 years ago by zlin

And for those who wonder why the obsolete url in comment #1 doesn't work. It moved:  http://paludis.pioto.org/faq/different.html#mkdir

Note: See TracTickets for help on using tickets.