summaryrefslogtreecommitdiffstats
path: root/package/genext2fs/genext2fs-1.4-nosquash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/genext2fs/genext2fs-1.4-nosquash.patch')
-rw-r--r--package/genext2fs/genext2fs-1.4-nosquash.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/genext2fs/genext2fs-1.4-nosquash.patch b/package/genext2fs/genext2fs-1.4-nosquash.patch
new file mode 100644
index 000000000..236dfccdf
--- /dev/null
+++ b/package/genext2fs/genext2fs-1.4-nosquash.patch
@@ -0,0 +1,14 @@
+diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-nosquash/genext2fs.c
+--- genext2fs-1.4/genext2fs.c 2006-12-19 17:45:31.000000000 +0100
++++ genext2fs-1.4-nosquash/genext2fs.c 2007-02-09 10:47:05.000000000 +0100
+@@ -1629,10 +1629,6 @@
+ mtime = st.st_mtime;
+ name = dent->d_name;
+ mode = get_mode(&st);
+- if(squash_uids)
+- uid = gid = 0;
+- if(squash_perms)
+- mode &= ~(FM_IRWXG | FM_IRWXO);
+ if(stats)
+ switch(st.st_mode & S_IFMT)
+ {