Bug 11106 - `install` command's -D flag doesn't work as intended
Summary: `install` command's -D flag doesn't work as intended
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.27.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-21 20:41 UTC by Michael Goodwin
Modified: 2022-12-16 23:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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