Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PHP app that creates a .zip folder out of files that are restricted to specific groups using ACL, then submits it to the user to download. Specifically, everyone is allowed to read them, but only some group names have read/write/etc.

This doesn't cause any problems on Windows that I've seen, but on OS X the Archive Utility doesn't seem to reset any ownership, which means the OS X user doesn't have Write access to the file by default unless they just 'happen' to be a member of a similarly named group.

Is there a way to fix this, either by forcing the AU to give the user access, or via something in PHP? I can gain access to individual files with Get Info, but I'm not the only user using the app.

share|improve this question
Are you sure? Regular users shouldn't be able to create files belonging to a group they're not a member of. – Daniel Beck Aug 22 '13 at 15:25
They have different accounts on the server, so their server accounts are members of the group. – Josh Aug 22 '13 at 15:32

You must log in to answer this question.

Browse other questions tagged .