From: | Doug Goldstein <cardoe@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox: ChangeLog sandbox-1.2.18.1-r1.ebuild | ||
Date: | Thu, 18 Oct 2007 03:24:22 | ||
Message-Id: | 4716CED8.6050202@gentoo.org | ||
In Reply to: | [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox: ChangeLog sandbox-1.2.18.1-r1.ebuild by Donnie Berkholz |
1 | Donnie Berkholz wrote: |
2 | > On 15:55 Wed 17 Oct , Daniel Drake (dsd) wrote: |
3 | >> 1.1 sys-apps/sandbox/sandbox-1.2.18.1-r1.ebuild |
4 | >> |
5 | >> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.2.18.1-r1.ebuild?rev=1.1&view=markup |
6 | >> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sandbox/sandbox-1.2.18.1-r1.ebuild?rev=1.1&content-type=text/plain |
7 | > |
8 | >> keepdir /var/log/sandbox |
9 | >> fowners root:portage /var/log/sandbox |
10 | >> fperms 0770 /var/log/sandbox |
11 | >> |
12 | >> cd ${S} |
13 | >> dodoc AUTHORS ChangeLog NEWS README |
14 | >> } |
15 | >> |
16 | >> pkg_preinst() { |
17 | >> chown root:portage ${D}/var/log/sandbox |
18 | >> chmod 0770 ${D}/var/log/sandbox |
19 | >> } |
20 | > |
21 | > How come you need to repeat the permissions like this? |
22 | > |
23 | > Also, quoting. =) |
24 | > |
25 | > Thanks, |
26 | > Donnie |
27 | |
28 | Also, pkg_preinst() is not binary package safe. So unless the portage |
29 | group is always the same gid on EVERY Gentoo box. This will break binary |
30 | packages. |
31 | |
32 | -- |
33 | Doug Goldstein <cardoe@g.o> |
34 | http://dev.gentoo.org/~cardoe/ |
35 | -- |
36 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/sandbox: ChangeLog sandbox-1.2.18.1-r1.ebuild | Alec Warner <antarus@g.o> |