bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SELinux for upstream coreutils, finally (RFC: does mkdir need -Z?)


From: Russell Coker
Subject: Re: SELinux for upstream coreutils, finally (RFC: does mkdir need -Z?)
Date: Fri, 30 Mar 2007 23:37:30 +1100
User-agent: KMail/1.9.5

On Friday 30 March 2007 21:18, Jim Meyering <address@hidden> wrote:
> Regarding the --context=C (-Z C) option that is now accepted by
> mkdir, mknod, mkfifo, and install, I am inclined to

Currently mkdir, mknod, and mkfifo support a -m option to set the mode.  
Install has options to also set the owner and group.

I think that all programs which set the uid and gid of a file should also be 
able to set the SE Linux context.

It also seems reasonable that a program which can create a file with 
particular permissions should also be permitted to create it with a 
particular context.

> I'm still not entirely convinced that mkdir, mknod, mkfifo, and install
> need the option, and would welcome opinions one way or the other.  There's
> a good chance that I'll remove those -Z options before coreutils-6.10.

Oh well, if you merge most of the changes then that's still less work for us 
in maintaining patches.

-- 
address@hidden
http://etbe.blogspot.com/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development




reply via email to

[Prev in Thread] Current Thread [Next in Thread]