[opensuse-buildservice] permissions of sources are not preserved when commiting to openSUSE
The package "freefont" failed in the openSUSE build service with the error "Permission denied" when trying to execute $RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd "remove-kana-glyphs" is a fontforge script and has the executable flags set in the original file. Therefore it builds fine with mbuild and build. But apparently the executable flags disappear when uploading the source to the openSUSE build service. Adding the line chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs makes the package build in the openSUSE build service as well. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
Mike FABIAN <mfabian@suse.de> さんは書きました:
The package "freefont" failed in the openSUSE build service with the error "Permission denied" when trying to execute
$RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
"remove-kana-glyphs" is a fontforge script and has the executable flags set in the original file. Therefore it builds fine with mbuild and build.
But apparently the executable flags disappear when uploading the source to the openSUSE build service.
Adding the line
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
makes the package build in the openSUSE build service as well.
Maybe it would be nice if the permission flags of the source files could be seen in the webfrontend of the openSUSE build service as well. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thu, Jul 20, 2006 at 12:00:23PM +0200, Mike FABIAN wrote:
But apparently the executable flags disappear when uploading the source to the openSUSE build service.
Yes, works as designed. All uploaded files get mode 644.
Adding the line
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
makes the package build in the openSUSE build service as well.
Maybe it would be nice if the permission flags of the source files could be seen in the webfrontend of the openSUSE build service as well.
That's not necessary, all files have the same mode. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
participants (2)
-
Michael Schroeder
-
Mike FABIAN