summaryrefslogtreecommitdiff
path: root/debian/patches/diskfs_no_inherit_dir_group.patch
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2007-11-16 20:20:47 +0000
committerMichael Banck <mbanck@debian.org>2007-11-16 20:20:47 +0000
commit50a66a31a8a2c1ce220728a3a85ec83dffe0f6b8 (patch)
tree1f6a1a995b7dd0e56d2f233fcf3e7c9f8cc6d427 /debian/patches/diskfs_no_inherit_dir_group.patch
parent07bf5bc972b2321937ce6073452d44eeabd2194a (diff)
* debian/patches/diskfs_no_inherit_dir_group.patch: Update with better
patch by Thomas Schwinge.
Diffstat (limited to 'debian/patches/diskfs_no_inherit_dir_group.patch')
-rw-r--r--debian/patches/diskfs_no_inherit_dir_group.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/debian/patches/diskfs_no_inherit_dir_group.patch b/debian/patches/diskfs_no_inherit_dir_group.patch
index 1aa26a85..d94ab4b8 100644
--- a/debian/patches/diskfs_no_inherit_dir_group.patch
+++ b/debian/patches/diskfs_no_inherit_dir_group.patch
@@ -1,11 +1,12 @@
---- hurd/libdiskfs/node-create.c.orig 2006-01-20 01:45:49.000000000 +0100
-+++ hurd/libdiskfs/node-create.c 2006-01-20 01:46:42.000000000 +0100
-@@ -20,7 +20,7 @@
- /* This enables SysV style group behaviour. New nodes inherit the GID
- of the user creating them unless the SGID bit is set of the parent
- directory. */
--int _diskfs_no_inherit_dir_group;
-+int _diskfs_no_inherit_dir_group = 1;
+--- hurd/libdiskfs/init-init.c 2001-08-21 00:45:11.000000000 +0200
++++ hurd/libdiskfs/init-init.c 2007-03-31 23:29:57.000000000 +0200
+@@ -57,6 +57,9 @@
+ {
+ error_t err;
- /* Create a new node. Give it MODE; if that includes IFDIR, also
- initialize `.' and `..' in the new directory. Return the node in NPP.
++ /* 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. */
+ {