]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- pldish FHS fixed uid/gids
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 4 Jun 2009 21:47:03 +0000 (21:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-gid-uucp.patch -> 1.1

rpm-gid-uucp.patch [new file with mode: 0644]

diff --git a/rpm-gid-uucp.patch b/rpm-gid-uucp.patch
new file mode 100644 (file)
index 0000000..dc9819a
--- /dev/null
@@ -0,0 +1,16 @@
+--- rpm-4.5/rpmio/ugid.c~      2004-10-09 20:29:23.000000000 +0300
++++ rpm-4.5/rpmio/ugid.c       2009-06-05 00:46:30.450894061 +0300
+@@ -101,10 +101,10 @@
+           /*@=internalglobs@*/
+           grent = getgrnam(thisGname);
+           if (grent == NULL) {
+-              /* XXX The filesystem package needs group/lock w/o getgrnam. */
+-              if (strcmp(thisGname, "lock") == 0) {
++              /* XXX The FHS package needs group/uucp w/o getgrnam. */
++              if (strcmp(thisGname, "uucp") == 0) {
+ /*@-boundswrite@*/
+-                  *gid = lastGid = 54;
++                  *gid = lastGid = 14;
+ /*@=boundswrite@*/
+                   return 0;
+               } else
This page took 0.068902 seconds and 4 git commands to generate.