Bug 9469 - creation of duplicate GROUP acl for owning group can fail
creation of duplicate GROUP acl for owning group can fail
Product: Samba 4.0
Classification: Unclassified
Component: File services
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2012-12-06 00:29 UTC by Michael Adam
Modified: 2012-12-06 09:21 UTC (History)
0 users

See Also:

patch cherry-picked from master (1.09 KB, patch)
2012-12-06 00:29 UTC, Michael Adam
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Adam 2012-12-06 00:29:11 UTC
There is a cut and paste error where the check is made against the user id and not against the group id when checking whether the duplicate entry already exists. Hence we can fail to create the entry, possibly creating permission problems when chnanging the group owner of the file/directory.
Comment 1 Michael Adam 2012-12-06 00:29:58 UTC
Created attachment 8291 [details]
patch cherry-picked from master

This is the obvious fix from master. with cherry-pick-info
Comment 2 Michael Adam 2012-12-06 09:20:37 UTC
OK. this was actually already fixed, but since the order of patches was reversed, I undid the patch in my patch for bug #9462. gonna fix that patchset...