[paludis-dev] [Paludis] #1341: pbins don't preserve directory ownership

Paludis trac-paludis at exherbo.org
Fri Feb 12 15:14:42 UTC 2016


#1341: pbins don't preserve directory ownership
-----------------------------+--------------------------
    Reporter:  hasufell      |       Type:  defect
      Status:  new           |   Priority:  Sometime
   Milestone:  pbin support  |  Component:  clients/cave
     Version:  scm           |   Keywords:
  Blocked By:                |   Blocking:
Distribution:  Gentoo        |
-----------------------------+--------------------------
 Given the following ebuild:
 {{{
 #!div style="font-size: 80%"
 app-misc/test:
   {{{#!sh
   DESCRIPTION="Blah"
   SLOT="0"
   KEYWORDS="amd64 x86"

   src_install() {
     keepdir /var/lib/test_dir_32
     fowners -R 207:207 /var/lib/test_dir_32
   }
   }}}
 }}}

 The resulting pbin tarball will have the following permissions:
 {{{
 #!div style="font-size: 80%"
 Permissions:
   {{{#!sh
   # ls -la lib/test_dir_32/
   total 8
   drwxr-xr-x 2 root    root    4096 Feb 11 16:03 .
   drwxr-xr-x 3 root    root    4096 Feb 11 16:03 ..
   -rw-r--r-- 1 postfix postfix    0 Feb 11 16:04 .keep_app-misc_test-0
   }}}
 }}}

 This does not happen if the package is installed straight away, without
 any pbin support, so I suspect it cannot be a configuration problem.

 libarchive version is 3.1.2, the only patch applied is to fix
 CVE-2013-0211.

-- 
Ticket URL: <http://paludis.exherbo.org/trac/ticket/1341>
Paludis <http://paludis.exherbo.org/>
Paludis, the Other Package Mangler


More information about the paludis-dev mailing list