chmod makes no sense for a symlink.
[util-vserver.git] / scripts / vserver-build.functions
index 7e26efd..9bbdd00 100644 (file)
@@ -45,7 +45,6 @@ function makeDevEntry
                chmod $4 "$dst"
                ;;
        (l)     ln -s "$4" "$dst"
-               test -z "$5" || chmod "$5" "$dst"
                ;;
        (*)     echo "Unknown dev-entry mode '$3'" >&2
                false