kumquat-buildroot/target/ext2/genext2fs-1.4-nosquash.patch

15 lines
452 B
Diff
Raw Normal View History

2007-03-20 17:42:51 +01:00
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)
{