[PATCH] install -D

Natanael Copa natanael.copa at gmail.com
Wed Jun 25 10:03:40 UTC 2008


Attatched is a patch that enables -D option to install.

btw, busybox's current behaviour is different from GNU coreutils:

# busybox install -o nobody -g nobody -d /foo/bar/baznc && find /foo | xargs ls -ld
drwxrwxrwx 3 nobody nobody 16 Jun 25 09:29 /foo
drwxrwxrwx 3 nobody nobody 16 Jun 25 09:29 /foo/bar
drwxrwxrwx 2 nobody nobody  6 Jun 25 09:29 /foo/bar/baz
# rm -rf /foo
# install -o nobody -g nobody -d /foo/bar/baz && find /foo | xargs ls -ld
drwxr-xr-x 3 root   root   16 Jun 25 09:31 /foo
drwxr-xr-x 3 root   root   16 Jun 25 09:31 /foo/bar
drwxr-xr-x 2 nobody nobody  6 Jun 25 09:31 /foo/bar/baz

patch does not fix this.

-nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-svn-install-D.patch
Type: text/x-patch
Size: 3255 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080625/56fd8af9/attachment-0002.bin 


More information about the busybox mailing list