Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] chmod after unpacking
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 4 Nov 2008 08:31:07 +0100
  • Message-id: <200811040831.08336.adrian@xxxxxxx>
On Montag 03 November 2008 22:33:05 Sascha Manns wrote:
Hello,

i had in my %setup:
%setup -q -n skrooge
%Patch1 -p1

Now i would chmod a file after unpack. The absolute PATH is:
/skrooge/po/listFiles.sh
Now must: chmod +x listFiles.sh.

How can i insert this in my spec? Which format?

In most cases, it is better not to do a chmod, but just to package the file
with different rights/ownership:

%attr(0755,-,-) /your_file

in the file list.

bye
adrian

--

Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References