Patched build scrips have missing -x privileges
Bug #889752 reported by
shinguz
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-
-rwxr-xr-x 1 oli oli 846 2011-07-13 21:09 BUILD/compile-
-rwxr-xr-x 1 oli oli 968 2011-07-13 21:09 BUILD/compile-
-rw-r--r-- 1 oli oli 188 2011-11-13 09:23 BUILD/compile-
To post a comment you must log in.
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.