diff options
author | toonn <toonn@toonn.io> | 2020-11-24 20:48:53 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2020-11-24 20:54:39 +0100 |
commit | 7c4a0800543112bf56924d5fcb4fe458281b206e (patch) | |
tree | 4a2f66f09feead03117363cf30dde2536571c010 /ranger | |
parent | fc3dcfe84cd5d0b4382a2dc6375d5a919ed9966c (diff) | |
download | ranger-7c4a0800543112bf56924d5fcb4fe458281b206e.tar.gz |
Change chmod maps
The maps without explicit target only changed user permissions. The chmod utility changes all permissions when the target's omitted. This brings both more in line. Fixes #2161
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/rc.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index e1ed1b73..d7d79f97 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -627,13 +627,13 @@ eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map +g{0} shell -f chmod g+{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map +o{0} shell -f chmod o+{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map +a{0} shell -f chmod a+{0} %s".format(arg)) -eval for arg in "rwxXst": cmd("map +{0} shell -f chmod u+{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map +{0} shell -f chmod +{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map -u{0} shell -f chmod u-{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map -g{0} shell -f chmod g-{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map -o{0} shell -f chmod o-{0} %s".format(arg)) eval for arg in "rwxXst": cmd("map -a{0} shell -f chmod a-{0} %s".format(arg)) -eval for arg in "rwxXst": cmd("map -{0} shell -f chmod u-{0} %s".format(arg)) +eval for arg in "rwxXst": cmd("map -{0} shell -f chmod -{0} %s".format(arg)) # =================================================================== # == Define keys for the console |