diff options
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index 15d0c6be81..2d9fccf9d7 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -177,7 +177,7 @@ tokenize_fullpath (string fullpath, string& path, string& name) int touch_file (string path) { - int fd = open (path.c_str(), O_RDONLY|O_CREAT); + int fd = open (path.c_str(), O_RDWR|O_CREAT, 0660); if (fd >= 0) { close (fd); return 0; |