I would actually set file_mode to: file_mode=0644 or of really necessary file_mode=666.
(the numbers tell you this: Position 0 1 2 3, whereby 1=rights for the file owner, 2 rights for the group that the owner is a member of, 3 everyone.
The value means: 4 = read access, 5 = read/execute access, 6 = read/write access, 7 = read/write/execute access).
Hendrik-Jan
(the numbers tell you this: Position 0 1 2 3, whereby 1=rights for the file owner, 2 rights for the group that the owner is a member of, 3 everyone.
The value means: 4 = read access, 5 = read/execute access, 6 = read/write access, 7 = read/write/execute access).
Hendrik-Jan