Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

write-open st_mode -> 0555

  • Loading branch information...
commit ea3d504537ead7b7252b82df34e6a0ead3ba58c2 1 parent a98f072
@mikejs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  operations.cpp
View
2  operations.cpp
@@ -56,7 +56,7 @@ int gridfs_getattr(const char *path, struct stat *stbuf)
file_iter = open_files.find(path);
if(file_iter != open_files.end()) {
- stbuf->st_mode = S_IFREG | 0777;
+ stbuf->st_mode = S_IFREG | 0555;
stbuf->st_nlink = 1;
stbuf->st_ctime = time(NULL);
stbuf->st_mtime = time(NULL);
Please sign in to comment.
Something went wrong with that request. Please try again.