Skip to content

Commit 7d0c705

Browse files
committed
Remove meaningless permissions warnings
1 parent 1d659f7 commit 7d0c705

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

k.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,16 +383,6 @@ k () {
383383

384384
PERMISSIONS_OUTPUT="$FILETYPE$PER1$PER2$PER3"
385385

386-
# --x --x --x warning
387-
if [[ $PER1[3] == "x" || $PER2[3] == "x" || $PER3[3] == "x" ]]; then
388-
IS_EXECUTABLE=1
389-
fi
390-
391-
# --- --- rwx warning
392-
if [[ $PER3 == "rwx" ]] && (( ! IS_SYMLINK )); then
393-
PERMISSIONS_OUTPUT=$'\e[30;41m'"$PERMISSIONS"$'\e[0m'
394-
fi
395-
396386
# --------------------------------------------------------------------------
397387
# Colour the symlinks - TODO
398388
# --------------------------------------------------------------------------

0 commit comments

Comments
 (0)