List:Internals« Previous MessageNext Message »
From:tomas Date:September 13 2005 3:30pm
Subject:bk commit into 5.1 tree (tomas:1.1910)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1910 05/09/13 17:30:24 tomas@stripped +1 -0
  allow for any permissions on the ndb files

  storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
    1.20 05/09/13 17:30:17 tomas@stripped +5 -1
    allow for any permissions on the ndb files

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-wl2325-5.0

--- 1.19/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp	2005-07-21 12:50:21 +02:00
+++ 1.20/storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp	2005-09-13 17:30:17 +02:00
@@ -367,7 +367,11 @@
     break;
     return;
   }
-  const int mode = S_IRUSR | S_IWUSR | S_IRGRP;
+  // allow for user to choose any permissionsa with umask
+  const int mode =
+    S_IRUSR | S_IWUSR |
+    S_IRGRP | S_IWGRP |
+    S_IROTH | S_IWOTH;
   
   if (-1 == (theFd = ::open(theFileName.c_str(), new_flags, mode))) {
     PRINT_ERRORANDFLAGS(new_flags);
Thread
bk commit into 5.1 tree (tomas:1.1910)tomas13 Sep