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

Finishing merge - backported fix for CORE-1674: Wrong access rights in doc subdirectory

This commit is contained in:
alexpeshkoff 2008-01-17 15:46:40 +00:00
parent c832e7b14f
commit f0b17f8866
3 changed files with 25 additions and 2 deletions

View File

@ -111,7 +111,10 @@ fixFilePermissions() {
chmod ug=rw,o= $i
done
cd ..
# fix up doc permissions
fixDocPermissions
cd $FBRootDir
}

View File

@ -520,6 +520,23 @@ MakeFileFirebirdWritable() {
}
#------------------------------------------------------------------------
# Set correct permissions for $FbRoot/doc tree
fixDocPermissions() {
cd $FBRootDir
for i in `find doc -print`; do
chown root:root $i
if [ -d $i ]; then
chmod 0755 $i
else
chmod 0644 $i
fi
done
}
#------------------------------------------------------------------------
# Run process and check status

View File

@ -65,7 +65,10 @@ fixFilePermissions() {
chmod ug=rw,o= $i
done
cd ..
# fix up doc permissions
fixDocPermissions
cd $FBRootDir
}