nsbin/vfat_to_nfs
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

13 lines
235 B
Bash
Executable file

#!/bin/sh
# convert vfat permissions to normal ones..
if [ -d "$1" ];then chmod 0700 "$1"
else chmod 0600 "$1"
fi
# could also be:
#if [ -d "$1" ];then chmod og-x "$1"
#else chmod a-x "$1"
#fi