hi, everybody I'm found that obs can not retain the files' permission in chroot build enviroment. In my local obs server, the build result of many packages have errors like following: ---------------------------------------------------------- + cp -pr examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting /var/tmp/samba-3.0.33- root/usr/share/doc/samba-3.0.33 + cp -pr examples/printing /var/tmp/samba-3.0.33- root/usr/share/doc/samba-3.0.33 + exit 0 error: Couldn't exec /usr/src/turbo/SOURCES/filter-requires-samba.sh: Permission denied getOutputFrom(): Broken pipe ========================================================== because the file have not excute permission, the exec will "Permission denied". So I added "chmod a+x $BUILD_ROOT/$TOPDIR/SOURCES/*" before chroot in /usr/lib/obs/server/build/build : ------------------------------------------------ 1535 chmod 755 $BUILD_ROOT/.build.command 1536 # Jian Lee: add the exec premission to all files 1537 chmod a+x $BUILD_ROOT/$TOPDIR/SOURCES/* 1538 chroot $BUILD_ROOT su -c /.build.command - $BUILD_USER < /dev/null && BUILD_SUCCEEDED=true 1539 fi ========================================= Maybe next version can solve this problem. Thanks, all ---- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org