Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: libraries/nacl-mounts/memory/MemNode.cc

Issue 10556007: changes in memory mount and socket subsystem to port thttpd (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libraries/nacl-mounts/memory/MemNode.cc
===================================================================
--- libraries/nacl-mounts/memory/MemNode.cc (revision 598)
+++ libraries/nacl-mounts/memory/MemNode.cc (working copy)
@@ -27,7 +27,8 @@
if (is_dir()) {
buf->st_mode = S_IFDIR | 0777;
} else {
- buf->st_mode = S_IFREG | 0777;
+ buf->st_mode = S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH
+ | S_IWOTH;
buf->st_size = len_;
}
buf->st_uid = 1001;

Powered by Google App Engine
This is Rietveld 408576698