So, I wrote a 'userPrivileges' handler to do this ...
tell application "Finder"
if not (everyones privileges of projectFolder is read write) then
if my userPrivileges(projectFolder) is not read write then error privsMessage
end if
end tell
on userPrivileges(itemAlias)
tell application "System Events" to set userName to (name of current user)
tell application "Finder"
if (owner of itemAlias) = userName then return (owner privileges of itemAlias)
end tell
set uprivs to do shell script "ls -eod " & (quoted form of (POSIX path of itemAlias))
set AppleScript's text item delimiters to {"user:" & userName}
try
set uprivs to (text item 2 of uprivs)
on error
tell application "Finder" to return none
end try
set AppleScript's text item delimiters to {return}
set uprivs to (text item 1 of uprivs)
tell application "Finder"
if not (uprivs contains "allow") then return none
if (uprivs contains "readattr,writeattr,readextattr,writeextattr") then return read write
if (uprivs contains "readattr,writeattr,writeextattr") then return write only
if (uprivs contains "readattr,readextattr") then return read only
return none
end tell
end userPrivileges ----------------------------
So far, this seems to be working correctly, but I still need to verify that I am using the 'ls' command correctly.