• Jamie Walch's avatar
    Prepend "user:" to chmod command · 0e2b8eb7
    Jamie Walch authored
    macOS's extended chmod syntax can be used for either users or groups,
    and supports "user:<user>" and "group:<group>" to resolve ambiguities.
    This causes problems if the username is "user", as chmod can't parse
    the ACL in this case. This CL prepends "user:" to all ACLs to avoid
    this problem.
    
    Change-Id: I15c143b94a2c3113f518ed2b558f007ad769d0c1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2088397
    Auto-Submit: Jamie Walch <jamiewalch@chromium.org>
    Commit-Queue: Gary Kacmarcik <garykac@chromium.org>
    Reviewed-by: default avatarGary Kacmarcik <garykac@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#748771}
    0e2b8eb7
host_service_main.cc 13.9 KB