From 6f57f517e48b6b09ef190c241579cec002cfde3f Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 19 Nov 2024 12:47:56 -0600 Subject: Fix chmod issue with spaces in lf Chmod would not apply properly to files or folders with spaces in the path; this has been fixed now. --- lf/lfrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lf') diff --git a/lf/lfrc b/lf/lfrc index 702fc2d..19c6051 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -51,9 +51,9 @@ cmd chmod ${{ printf "Mode Bits: " read ans - for file in "$fx" + echo "$fx" | while read file do - chmod $ans $file + chmod "$ans" "$file" done }} -- cgit v1.2.3