Bug 12024 - Read list and write list ordering can by confusing
Summary: Read list and write list ordering can by confusing
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.4.5
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 23:34 UTC by Justin Maggard
Modified: 2016-07-16 07:58 UTC (History)
1 user (show)

See Also:


Attachments
Patch (5.26 KB, patch)
2016-07-15 23:34 UTC, Justin Maggard
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Maggard 2016-07-15 23:34:29 UTC
Created attachment 12271 [details]
Patch

Currently, objects in the write list always override the same objects in the read list.

This includes cases where you have an individual user account in the read list, and a group he belongs to in the write list.  This seems unintuitive, as most of us are used to user account settings taking precedence over group account settings.

The attached patch keeps track of the object type, and gives preference to user account objects if they exist.