patch applet, file access rights.

Denys Vlasenko vda.linux at googlemail.com
Tue Mar 18 01:33:21 UTC 2008


On Tuesday 11 March 2008 15:23, George Boudreau wrote:
> 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

Applied with small change (s/chmod/fchmod/), thanks!
--
vda



More information about the busybox mailing list