summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/patches/diskfs_no_inherit_dir_group.patch11
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index ca1b8a84..f0bb5284 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
hurd (20050513-6+SVN) unreleased; urgency=low
- *
+ * 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.
-- Michael Banck <mbanck@debian.org> Tue, 17 Jan 2006 22:16:33 +0100
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.