diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-08-16 23:33:04 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-08-16 23:33:04 +0000 |
commit | abc4180151e3576a8075f0e279252a3eaa9ba9f2 (patch) | |
tree | f5122d1700aa5db12cd1a3d69d5c35e4d5144c4c | |
parent | 5a2946158ac104ef6096bf048619cf15a5378c41 (diff) | |
download | puppet-abc4180151e3576a8075f0e279252a3eaa9ba9f2.tar puppet-abc4180151e3576a8075f0e279252a3eaa9ba9f2.tar.gz puppet-abc4180151e3576a8075f0e279252a3eaa9ba9f2.tar.bz2 puppet-abc4180151e3576a8075f0e279252a3eaa9ba9f2.tar.xz puppet-abc4180151e3576a8075f0e279252a3eaa9ba9f2.zip |
fix permission on uploaded file
-rwxr-xr-x | modules/buildsystem/templates/upload-bin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/upload-bin b/modules/buildsystem/templates/upload-bin index c0617964..4f02d002 100755 --- a/modules/buildsystem/templates/upload-bin +++ b/modules/buildsystem/templates/upload-bin @@ -18,6 +18,7 @@ then exit 2 fi /bin/mv "$tmpfile" "$binrepodir/$sha1sum" +/bin/chmod 644 "$binrepodir/$sha1sum" echo "$username:$comment" > "$uploadinfosdir/$sha1sum" echo "User $username uploaded file $sha1sum: $comment" |