8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 02:43:04 +01:00

fix examples in package

This commit is contained in:
alexpeshkoff 2005-03-20 12:48:04 +00:00
parent d9f1365594
commit a0854e0e4c

View File

@ -31,7 +31,7 @@
# Contributor(s):
#
#
# $Id: postinstall.sh.in,v 1.10 2005-03-16 01:04:05 robocop Exp $
# $Id: postinstall.sh.in,v 1.11 2005-03-20 12:48:04 alexpeshkoff Exp $
#
# The post install script for Firebird Classic
@ -446,14 +446,21 @@ fixFilePermissions() {
# fix up permissions for loadable plugins
chmod ug=rx,o= intl/fbintl UDF/fbudf.so UDF/ib_udf.so
# Set a default of read all files in examples
# fix up examples' permissions
cd examples
for i in `ls`
# set a default of read all files in examples
for i in `find . -name '*' -type f -print`
do
chmod a=r $i
chmod a=r $i
done
# set a default of read&search all dirs in examples
for i in `find . -name '*' -type d -print`
do
chmod a=rx $i
done
# make examples db's writable by group