aboutsummaryrefslogtreecommitdiffstats
path: root/create-file
diff options
context:
space:
mode:
Diffstat (limited to 'create-file')
-rwxr-xr-xcreate-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-file b/create-file
index 6cdb1e0..6ae3417 100755
--- a/create-file
+++ b/create-file
@@ -24,7 +24,7 @@ mode=$6 # mode of the file
if [ ! -f $file ]; then
touch $file
- chown $owner.$group $file
+ chown $owner:$group $file
chmod $mode $file
fi