summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rvs-core/commit.f.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rvs-core/commit.f.sh b/src/rvs-core/commit.f.sh
index cd8070b..ac645cd 100644
--- a/src/rvs-core/commit.f.sh
+++ b/src/rvs-core/commit.f.sh
@@ -19,7 +19,8 @@ file="$1"
hash=`getid $file`
if [ ! -f "$repo/files/$hash" ]; then
- cp "$file" "$repo/files/$hash"
+ #cp "$file" "$repo/files/$hash"
+ install -m 644 -o $USER -g $USER -T "$file" "$repo/files/$hash"
fi
echo "$hash"