diff --git a/document/linux/config/bash/module/own.sh b/document/linux/config/bash/module/own.sh index 9c8e2f0..0e814d1 100644 --- a/document/linux/config/bash/module/own.sh +++ b/document/linux/config/bash/module/own.sh @@ -1,8 +1,8 @@ # change file ownership to specified user id and restrict access to him. own() { - local file="$1" - local user="$2" + local file="$2" + local user="$1" # default to current dir. if [ "$file" = "" ]; then