mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Finishing merge - backported fix for CORE-1674: Wrong access rights in doc subdirectory
This commit is contained in:
parent
c832e7b14f
commit
f0b17f8866
@ -111,7 +111,10 @@ fixFilePermissions() {
|
|||||||
chmod ug=rw,o= $i
|
chmod ug=rw,o= $i
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ..
|
# fix up doc permissions
|
||||||
|
fixDocPermissions
|
||||||
|
|
||||||
|
cd $FBRootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
# Run process and check status
|
||||||
|
|
||||||
|
@ -65,7 +65,10 @@ fixFilePermissions() {
|
|||||||
chmod ug=rw,o= $i
|
chmod ug=rw,o= $i
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ..
|
# fix up doc permissions
|
||||||
|
fixDocPermissions
|
||||||
|
|
||||||
|
cd $FBRootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user