Patched build scrips have missing -x privileges

Bug #889752 reported by shinguz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
New
Undecided
Unassigned

Bug Description

After patching MySQL source with galera-mysql the BUILD scripts for galera have missing execute privileges:

-rw-r--r-- 1 oli oli 306 2011-11-13 09:23 BUILD/compile-amd64-debug-wsrep
-rwxr-xr-x 1 oli oli 846 2011-07-13 21:09 BUILD/compile-amd64-max
-rwxr-xr-x 1 oli oli 968 2011-07-13 21:09 BUILD/compile-amd64-valgrind-max
-rw-r--r-- 1 oli oli 188 2011-11-13 09:23 BUILD/compile-amd64-wsrep

Revision history for this message
Alex Yurchenko (ayurchen) wrote :

From the patch manpage:

Context diffs cannot reliably represent the creation or deletion of empty files, empty directories, or special files such as symbolic links. Nor can they represent changes to file metadata like ownership, permissions, or whether one file is a hard link to another. If changes like these are also required, separate instructions (e.g. a shell script) to accomplish them should accompany the patch.

I feel that adding one more file to downloads just to change permissions (one line) is not worth it. To begin with you'll need to change permissions of that file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.