]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Give the same access permissions to journal files as is given to databases. (CVS...
authordrh <drh@noemail.net>
Sat, 13 Aug 2005 17:17:01 +0000 (17:17 +0000)
committerdrh <drh@noemail.net>
Sat, 13 Aug 2005 17:17:01 +0000 (17:17 +0000)
FossilOrigin-Name: 7961ec0ccbc99d890689013b9602635941f308a6

manifest
manifest.uuid
src/os_unix.c

index 58408c743216499848e66c164d1b2ef943a124e5..63e30b20f9f53d26f0c09655d70b0dc1d796d0d7 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Disable\san\soverzealous\soptimization\sthe\somitted\ssorting\son\sa\sjoin\sif\sthe\sfirst\ntable\sgave\sa\sunique\sresult.\s\sThe\ssort\scan\sonly\sbe\somitted\sif\sall\stables\sin\nthe\sjoin\sare\sunique.\s\sTicket\s#1358.\s(CVS\s2589)
-D 2005-08-13T16:13:05
+C Give\sthe\ssame\saccess\spermissions\sto\sjournal\sfiles\sas\sis\sgiven\sto\sdatabases.\s(CVS\s2590)
+D 2005-08-13T17:17:02
 F Makefile.in 22ea9c0fe748f591712d8fe3c6d972c6c173a165
 F Makefile.linux-gcc 06be33b2a9ad4f005a5f42b22c4a19dab3cbb5c7
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -51,7 +51,7 @@ F src/os.h c4b34bd4d6fea51a420f337468b907f4edecb161
 F src/os_common.h 0e7f428ba0a6c40a61bc56c4e96f493231301b73
 F src/os_test.c 91e5f22dd89491e5e1554820e715805f43fa4ece
 F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
-F src/os_unix.c be8f327f9578a6bd1b1550ac3d083c427dfeb0f3
+F src/os_unix.c 535cd82c2fa0b8c4ae9364edeb1ec5342887417e
 F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
 F src/os_win.c fe7b99cfcfb61d9bf54493ddf5857885a657fb89
 F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
@@ -291,7 +291,7 @@ F www/tclsqlite.tcl 3df553505b6efcad08f91e9b975deb2e6c9bb955
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 528299b8316726dbcc5548e9aa0648c8b1bd055b
-P 1054685f15095ef147d9e9a32bd56b0eaaf9fa54
-R d225fbaf33bc549b919b820e573eeddf
+P 4f07661279fb11a06b3ddffeda672f077c0d306a
+R b836f0b3a75836080ea6277724098755
 U drh
-Z ca2afe75bb06779be079d2484ddb7fa4
+Z 529dbcca7dd17d3d06b72e71d043be10
index 9f5b7908f531c61fa026fb0f323f814ef5785ff0..3b647afb641554902f07c553be9e37dbe7fef78c 100644 (file)
@@ -1 +1 @@
-4f07661279fb11a06b3ddffeda672f077c0d306a
\ No newline at end of file
+7961ec0ccbc99d890689013b9602635941f308a6
\ No newline at end of file
index ebf9deb9fee17a6802258ce915667a83971ea8bb..a19ba4920b558aa77894d464202754db292a0697 100644 (file)
@@ -568,7 +568,8 @@ int sqlite3OsOpenExclusive(const char *zFilename, OsFile *id, int delFlag){
   SET_THREADID(id);
   id->dirfd = -1;
   id->h = open(zFilename,
-                O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_LARGEFILE|O_BINARY, 0600);
+                O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_LARGEFILE|O_BINARY,
+                SQLITE_DEFAULT_FILE_PERMISSIONS);
   if( id->h<0 ){
     return SQLITE_CANTOPEN;
   }