1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Follow POSIX rules for gid of new nodes.
---
opts-common.c | 2 +-
libdiskfs/init-init.c | 3 +++
2 file changed, 4 insertion(+), 1 deletion(-)
Index: hurd-debian/libdiskfs/init-init.c
===================================================================
--- hurd-debian.orig/libdiskfs/init-init.c
+++ hurd-debian/libdiskfs/init-init.c
@@ -59,6 +59,9 @@ diskfs_init_diskfs (void)
{
error_t err;
+ /* See `node-create.c'. */
+ _diskfs_no_inherit_dir_group = 1;
+
if (diskfs_boot_filesystem ())
/* This is a boot filesystem, we have to do some things specially. */
{
Index: hurd-debian/libdiskfs/opts-common.c
===================================================================
--- hurd-debian.orig/libdiskfs/opts-common.c
+++ hurd-debian/libdiskfs/opts-common.c
@@ -53,7 +53,7 @@ const struct argp_option diskfs_common_o
{"nogrpid", 0, 0, OPTION_ALIAS | OPTION_HIDDEN},
{"sysvgroups", 0, 0, OPTION_ALIAS | OPTION_HIDDEN},
{"inherit-dir-group", OPT_INHERIT_DIR_GROUP, 0, 0,
- "Create new nodes with gid of parent dir (default)"},
+ "Create new nodes with gid of parent dir"},
{"grpid", 0, 0, OPTION_ALIAS | OPTION_HIDDEN},
{"bsdgroups", 0, 0, OPTION_ALIAS | OPTION_HIDDEN},
{"relatime", 'R', 0, 0,
|