Charles Wilson wrote:
csih_WIN32_VOLS_WITH_ACLS="E:;//server/share;F:" csih_WIN32_VOLS_WITHOUT_ACLS="C:;D:;//server/othershare"Then these lists would be checked first, before using getvolinfo for unspecified mounts. That is:csih_path_supports_acls() { # convert $1 to win32 # check if it starts with any of the volumes # in csih_WIN32_VOLS_WITH_ACLS (\,/-agnostic) # and return true # check if it starts with any of the volumes # in csih_WIN32_VOLS_WITHOUT_ACLS (\,/-agnostic) # and return false return getvolinfo $1 | egrep "FILE_PERSISTENT_ACLS[ ]*: TRUE" }
As attached. -- Chuck
csih_path_supports_acls.sh.gz
Description: application/gzip
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/