Re: Hilferuf

Marcus Hüwe <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
On 2009-07-03 12:46:57 +0200, Sascha 'saigkill' Manns wrote:
> Am Freitag 03 Juli 2009 01:19:07 wrote Philipp Thomas:
> > On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
> install -o games -g games yahtzee %{buildroot}/%{_bindir}

<SNIP>

> 
> Jetzt kriege ich als Meldung:
> + install -o games -g games yahtzee /var/tmp/yahqzee-2009.27-
> build//usr/bin
> install: cannot change ownership of `/var/tmp/yahqzee-2009.27-
> build//usr/bin/yahtzee': Operation not permitted
> error: Bad exit status from /var/tmp/rpm-tmp.15147 (%install)
> 
> Hat das mal jemand gehabt?
Da du nicht als root baust, kannst du auch nicht einen beliebigen Owner
festlegen. Installiere das File einfach per z.B.
%__install yahtzee %{buildroot}%{_bindir} und dann setze die Berechtigungen
in der %files Section:
%attr(mode, owner, group) /path/to/file


Marcus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.