This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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" }
-- Chuck
Attachment:
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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |