stripping out ACLs
Here is a quick bash script to delete all ACLs from a file or folder:
#!/bin/bashLINECT=`ls -ed "$1" | wc -l`while [ $LINECT -gt 1 ] do chmod -a# 0 "${1}" LINECT=`ls -ed "$1" | wc -l` done
Here is a quick bash script to delete all ACLs from a file or folder:
#!/bin/bashLINECT=`ls -ed "$1" | wc -l`while [ $LINECT -gt 1 ] do chmod -a# 0 "${1}" LINECT=`ls -ed "$1" | wc -l` done