public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* removal of grpid option from ext4
@ 2010-11-17 22:45 John Petersen
  2010-11-18  1:20 ` Ted Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: John Petersen @ 2010-11-17 22:45 UTC (permalink / raw)
  To: linux-ext4

The removal of this option puzzles me.  It's extremely useful in an 
academic environment like ours, where different groups of researchers 
work in shared project spaces.  I'd like to migrate our data partitions 
to ext4.  If this option is going to disappear, I will have to seriously 
consider keeping current and new project spaces as ext3.

Thanks for considering my viewpoint,
--John

-- 
John R. Petersen                    Department of Computer Science
UNIX Sysadmin&  NT abuse                   and Engineering
(206) 616-8507                  Box 352350, University of Washington
CSE 256                                   Seattle, WA 98195


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: removal of grpid option from ext4
  2010-11-17 22:45 removal of grpid option from ext4 John Petersen
@ 2010-11-18  1:20 ` Ted Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Ts'o @ 2010-11-18  1:20 UTC (permalink / raw)
  To: John Petersen; +Cc: linux-ext4

On Wed, Nov 17, 2010 at 02:45:30PM -0800, John Petersen wrote:
> The removal of this option puzzles me.  It's extremely useful in an
> academic environment like ours, where different groups of
> researchers work in shared project spaces.  I'd like to migrate our
> data partitions to ext4.  If this option is going to disappear, I
> will have to seriously consider keeping current and new project
> spaces as ext3.

So if people really insist on using it, then we'll keep it.

But one thing which I don't understand; why can't you just set the
setgid bit on the shared spaces?  This causes newly created files to
have the same group id as the directory, and newly created
subdirectories to have the set gid bit.  Set the group id at the top
directory of the project's directory hierarchy, and set the setgid
bit, and all newly created files will inherit the group id of the
directory --- and all newly created subdirectory will inherit the
group id as well as the setgid bit.

This is the System V scheme, which is much more flexible than the BSD
scheme, since you can set control whether you have the BSD behaviour
or the original System V unix behaviour, which is to always use the
primary group ID of the creator.

If you set the setgid bit on all directories (chmod -R g+s /mnt), then
you'll effectively have the same behavior as the grpid mount option.

What we may do is add a pointer to a web page with this explanation so
that people can understand there is a better alternative.  Does this
work for you?

Best regards,

						- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-18  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 22:45 removal of grpid option from ext4 John Petersen
2010-11-18  1:20 ` Ted Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox