X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Fdos_perm.sh;fp=scripts%2Ffiles%2Fdos_perm.sh;h=0000000000000000000000000000000000000000;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=89124375688785825fae4371e7c0770f313eac09;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/files/dos_perm.sh b/scripts/files/dos_perm.sh deleted file mode 100644 index 89124375..00000000 --- a/scripts/files/dos_perm.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# dos_perm: whacks a directory with the most open set of permissions -# available to the dos/windoze attrib command. - -folder="$1"; shift - -if [ -z "$folder" ]; then - echo "This program requires a folder to set the permissions on. That folder and all" - echo "files in it will be opened up to as full a permission level as DOS's attrib" - echo "command is capable of." - exit 3 -fi - -folder="${folder}/" # add a slash to ensure there's at least one after drive letters. - -dos_folder=$(echo $folder | sed -e 's/\/\([a-zA-Z]\)\/\(.*\)/\1:\/\2/' | sed -e 's/\//\\\\/g') -#echo dos folder is $dos_folder - -attrib -r -s -h //s //d "$dos_folder\\*" -