mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
Clemens Ladisch <clemens@ladisch.de>:
- set file permission bits for output file
This commit is contained in:
parent
5c5f79682a
commit
87873452ce
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ int main(int argc, char *argv[])
|
|||
return 1;
|
||||
|
||||
if (receive_file_name) {
|
||||
receive_file = creat(receive_file_name, 0);
|
||||
receive_file = creat(receive_file_name, 0666);
|
||||
if (receive_file == -1) {
|
||||
error("cannot create %s: %s", receive_file_name, strerror(errno));
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue