patch applet, file access rights.
George Boudreau
GeorgeB at Linux.ca
Tue Mar 11 14:23:43 UTC 2008
Hi,
I recently encountered a situation where a patch was applied to a
bash script using the busybox patch applet. The patched script failed
to execute since its rights had changed from 755 to 644. (my umask
022).
The included patch allows files to retain their access rights. This
has no effect when an applied patch creates a file.
regards
George
toolchain: bb-1.9.1, uclibc-snapshot, gcc-4.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.9.1-patch_permissions.patch
Type: application/octet-stream
Size: 1338 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080311/6fab4f58/attachment-0002.obj
More information about the busybox
mailing list