diff options
author | Henning Schild <henning.schild@siemens.com> | 2016-07-22 14:46:52 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-07-26 22:26:46 +0200 |
commit | ca617dc68b23407c4b7427d4f2fd71e0ba7ba81d (patch) | |
tree | db9e8d109b7262cc70dec63dec3ec2f18fd4aa45 /security | |
parent | scripts/coccinelle: require coccinelle >= 1.0.4 on device_node_continue.cocci (diff) | |
download | linux-ca617dc68b23407c4b7427d4f2fd71e0ba7ba81d.tar.xz linux-ca617dc68b23407c4b7427d4f2fd71e0ba7ba81d.zip |
builddeb: fix file permissions before packaging
Builddep is not very explicit about file permissions. Actually the file
permissions in the package are largely influenced by the umask of the
user cloning the git and building the package. If that umask does not
set go+r the resulting linux-headers package will prevent non-root users
from building out-of-tree modules. And that is probably just one
unexpected effect.
Being a packaging/install tool builddep should make sure the file
permissions are set correctly and not just derived from a value that is
never checked.
This patch sets ugo read permissions for all packaged files and derives
the executable bit for directories and executables from the file-owner.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions