summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-29 21:23:55 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-29 21:23:55 (EST)
commit51740fc8e456deba55a0cd240535a22c4fbe816c (patch)
tree0009c37d7b54bc732c85a73bfb1497c8911eed75
parentecbf297b450bceecd7907c880c48d4f381d73a3d (diff)
Fix mode on control directory.
-rw-r--r--src/oh-gencontrol4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oh-gencontrol b/src/oh-gencontrol
index a4062b2..39b9835 100644
--- a/src/oh-gencontrol
+++ b/src/oh-gencontrol
@@ -74,7 +74,7 @@ gen_control_src()
control="${control_dir}/control"
mkdir "${control_dir}"
- chmod 644 "${control_dir}"
+ chmod 755 "${control_dir}"
printf 'Package: %s\n' "${srcpkg}-src" > ${control}
printf 'Source: %s\n' "${srcpkg}" >> ${control}
@@ -100,7 +100,7 @@ gen_control_bin()
control="${control_dir}/control"
mkdir "${control_dir}"
- chmod 644 "${control_dir}"
+ chmod 755 "${control_dir}"
# Binary and source package names and version.
copy_required_field ${binpkg} Package ${control}