summaryrefslogtreecommitdiff
path: root/debian/patches/diskfs_no_inherit_dir_group.patch
diff options
context:
space:
mode:
authorMichael Banck <mbanck@debian.org>2006-01-20 00:49:20 +0000
committerMichael Banck <mbanck@debian.org>2006-01-20 00:49:20 +0000
commit0ae7098343bc783b1476ca9d76f1ada76a02a08b (patch)
treebcb4dced7b239f19a484af2718c53aa790b08d6d /debian/patches/diskfs_no_inherit_dir_group.patch
parent7403c009bd54d787be6470e9e9e22fd95860ded8 (diff)
* debian/patches/diskfs_no_inherit_dir_group.patch: New patch,
enabling SysV style behaviour (i.e. adopt the user's gid, not the one from the parent directory) for group permissions of newly created files by default.
Diffstat (limited to 'debian/patches/diskfs_no_inherit_dir_group.patch')
-rw-r--r--debian/patches/diskfs_no_inherit_dir_group.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/diskfs_no_inherit_dir_group.patch b/debian/patches/diskfs_no_inherit_dir_group.patch
new file mode 100644
index 00000000..1aa26a85
--- /dev/null
+++ b/debian/patches/diskfs_no_inherit_dir_group.patch
@@ -0,0 +1,11 @@
+--- 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;
+
+ /* Create a new node. Give it MODE; if that includes IFDIR, also
+ initialize `.' and `..' in the new directory. Return the node in NPP.