[Buildroot] [PATCH] packages: update sysv S* scripts to 644
Peter Korsgaard
peter at korsgaard.com
Fri Feb 8 10:38:57 UTC 2019
>>>>> "Matt" == Matt Weber <matthew.weber at rockwellcollins.com> writes:
> Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
> ---
> Nothing fancy but here's my command to do it in the packages folder.
> chmod 644 $(find . -type f -name "S*" -exec ls -l "{}" \; | grep "x 1" | cut -d ' ' -f10)
A simpler solution is using the -perm /u+x option, E.G.:
find -type f -name S\* -perm /u+x | xargs chmod 644
> package/input-event-daemon/S99input-event-daemon | 0
Strangely enough this file was still 755 after git-am'ing the patch, so
I manually added it and committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list