https://bugs.winehq.org/show_bug.cgi?id=37103
Bug ID: 37103 Summary: Wine incorrectly handles UNIX group permissions Product: Wine Version: 1.7.24 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com
Here's a very simple testcase.
You've got (userid/groupid = me) a directory which belongs to a different user (userid/groupid = otheruser). This directory user is "otheruser". This directory group is "me". Permissions are 770.
$ ls -la drwxrwx--- 2 otheruser me 4096 Aug 14 00:30 TestFolder
When I'm using native UNIX applications, I can create new files and erase any files from this folder (the sticky bit is not set).
$ cd TestFolder $ touch testfile $ echo $? 0
$ ls -la anotherfile -rw-r--r-- 1 otheruser otheruser 1111 May 1 11:11 anotherfile $ rm anotherfile $ echo $? 0
When I'm using Wine applications, I cannNOT create new files or erase existing files in this folder. The error is "Permission denied".