misc: comment

This commit is contained in:
Dylan Araps 2021-07-17 11:35:29 +03:00
parent 029da210b9
commit 674bd0bdfe
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 3 additions and 0 deletions

3
kiss
View File

@ -1121,6 +1121,9 @@ file_rwx() {
# Convert the output of 'ls' (rwxrwx---) to octal. This is simply
# a 1-9 loop with the second digit being the value of the field.
#
# NOTE: This drops setgid/setuid permissions and does not include
# them in the conversion. This is intentional.
for c in 14 22 31 44 52 61 74 82 91; do
rwx=${rwx#?}