aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/sample.ucl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index bb622133461e..834788cbc418 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -22,7 +22,8 @@ post-install: <<EOD
esac
target_file="${sample_file%.sample}"
if ! [ -f "${target_file}" ]; then
- /bin/cp -p "${sample_file}" "${target_file}"
+ /bin/cp -p "${sample_file}" "${target_file}" && \
+ /bin/chmod u+w "${target_file}"
fi
EOD
pre-deinstall: <<EOD