diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-10 15:29:46 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-10 15:29:46 +0200 |
commit | f60990e3f41b684e45113a6339dd2e7adfecc434 (patch) | |
tree | aff9099b8cd09a353fb2f8d3077ba93b7c195859 /src/osmo_server_network.c | |
parent | dea9e8bbfeff0e5ba78cb28d5800ffbcb9074bf9 (diff) |
server: Allow the group to read the files too
Diffstat (limited to 'src/osmo_server_network.c')
-rw-r--r-- | src/osmo_server_network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_server_network.c b/src/osmo_server_network.c index 0072949..121aa2c 100644 --- a/src/osmo_server_network.c +++ b/src/osmo_server_network.c @@ -67,7 +67,7 @@ static void restart_pcap(struct osmo_pcap_conn *conn) conn->server->base_path, conn->name, tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); - conn->local_fd = creat(filename, 0400); + conn->local_fd = creat(filename, 0440); if (conn->local_fd < 0) { LOGP(DSERVER, LOGL_ERROR, "Failed to file: '%s'\n", filename); return; |