Bug 11106

Summary: `install` command's -D flag doesn't work as intended
Product: Busybox Reporter: Michael Goodwin <mike>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.27.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Michael Goodwin 2018-06-21 20:41:51 UTC
# install -o root -g root -D -m 755 -t /etc/nonexisting/directories script.sh
install: can't create '/etc/nonexisting/directories': No such file or directory


It's supposed to create each directory that doesn't exist, so this is definitely a bug. I confirmed that install from coreutils works as intended with the same command.
Comment 1 Denys Vlasenko 2018-06-22 17:00:14 UTC
Fixed in git.
Comment 2 Taha Khan 2022-12-16 23:54:43 UTC
Yes, this has been fixed now https://yt2mp3.id/youtube-to-mp3