Permalink
Browse files

write-open st_mode -> 0555

  • Loading branch information...
1 parent a98f072 commit ea3d504537ead7b7252b82df34e6a0ead3ba58c2 @mikejs committed Oct 3, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 operations.cpp
View
@@ -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);

0 comments on commit ea3d504

Please sign in to comment.