nsbin/vfat_to_nfs

14 lines
235 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/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