Don't save custom acl permissions.

This commit is contained in:
Balakrishnan Balasubramanian 2023-02-25 01:45:18 -05:00
parent 743956cf15
commit 74ca466d7d

View File

@ -2,7 +2,7 @@
# Sorts the output of getfacl records to stdout # Sorts the output of getfacl records to stdout
# Assumes filenames don't contain + and | # Assumes filenames don't contain + and |
awk ' grep -v -e '^user:[^:]' -e '^mask::' | awk '
BEGIN { RS="\n\n"; FS="\n"; ORS="\n"; OFS="|"} BEGIN { RS="\n\n"; FS="\n"; ORS="\n"; OFS="|"}
// { $2=$2; print } // { $2=$2; print }
' | sort -k 1,1 -t '|' | tr '\n' '+' | sed 's/+/\n\n/g' | sed 's/|/\n/g' ' | sort -k 1,1 -t '|' | tr '\n' '+' | sed 's/+/\n\n/g' | sed 's/|/\n/g'