[Pkg-shadow-devel] acl, attr and selinux
nicolas.francois at centraliens.net
Mon Nov 21 22:07:36 UTC 2011
On Mon, Nov 21, 2011 at 01:09:43PM +0100, pvrabec at redhat.com wrote:
> On Thursday, November 17, 2011 11:53:32 PM Nicolas François wrote:
> > shadow-upstream-acl.patch
> > =========================
> > I would just like to confirm that there is no need to call chmod()
> > when perm_copy_file() returns != 0 with errno set to EOPNOTSUPP.
> > Is this correct?
> There is no need to call chmod. It worked correctly without chmod on my box.
> Please see the patch that I have attached. It seems we need to care about
> attr_copy_file/fd too.
Thanks. It's applied.
> > shadow-upstream-libsemanage.patch
> > =================================
> Feel free to discard '*user_selinux'
I replaced Zflg, with the same effect:
#define Zflg ('\0' != *user_selinux)
I changed usermod so that usermod -Z "" removes the SELinux user mapping
for the modified user.
More information about the Pkg-shadow-devel