search for: fs_touch

Displaying 1 result from an estimated 1 matches for "fs_touch".

Did you mean: do_touch
2006 Oct 30
0
File Store permissions
...d; /* for compound_store only */ } dir; + mode_t file_mode; + HashSet *locks; /** diff -puN ext-orig/fs_store.c ext/fs_store.c --- ext-orig/fs_store.c 2006-09-23 22:11:22.000000000 -0600 +++ ext/fs_store.c 2006-10-21 15:06:47.000000000 -0600 @@ -51,7 +51,7 @@ static void fs_touch(Store *store, char int f; char path[MAX_FILE_PATH]; join_path(path, store->dir.path, filename); - if ((f = creat(path, S_IRUSR | S_IWUSR)) == 0) { + if ((f = creat(path, store->file_mode)) == 0) { RAISE(IO_ERROR, "couldn''t create file %s: <%s>...