|
@ -3069,9 +3069,11 @@ get_relation_data_file() { |
|
|
new=true |
|
|
new=true |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$new" ]; then |
|
|
|
|
|
|
|
|
if [ -n "$new" ]; then |
|
|
|
|
|
OLDUMASK=$(umask) |
|
|
|
|
|
umask 0077 |
|
|
e "$relation_config" > "$relation_data_file" |
|
|
e "$relation_config" > "$relation_data_file" |
|
|
chmod go-rwx "$relation_data_file" ## protecting this file |
|
|
|
|
|
|
|
|
umask "$OLDUMASK" |
|
|
e "$relation_config" | md5_compat > "$relation_data_file.md5_ref" |
|
|
e "$relation_config" | md5_compat > "$relation_data_file.md5_ref" |
|
|
fi |
|
|
fi |
|
|
echo "$relation_data_file" |
|
|
echo "$relation_data_file" |
|
|