Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Procedure of checking permission of global config is chenged. Now you can share global config in home directory from cgi. SeeAlso: http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg14482.html |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | config-permission-check |
Files: | files | file ages | folders |
SHA1: |
f47298b25cbd147c0cdd4bbf8531956d |
User & Date: | kameda 2014-01-23 00:51:21 |
Context
2014-01-23
| ||
10:29 | No longer require that the HOME directory is writable if the fossil configuration file is already there. (With some simplifications) ... (check-in: b4d538f8 user: jan.nijtmans tags: trunk) | |
00:51 | Procedure of checking permission of global config is chenged. Now you can share global config in home directory from cgi. SeeAlso: http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg14482.html ... (Closed-Leaf check-in: f47298b2 user: kameda tags: config-permission-check) | |
00:45 | Create new branch named "config-permission-check" ... (check-in: e92e2d4d user: kameda tags: config-permission-check) | |
Changes
Changes to src/db.c.
︙ | ︙ | |||
829 830 831 832 833 834 835 | if( file_isdir(zHome)!=1 ){ fossil_fatal("invalid home directory: %s", zHome); } #if defined(_WIN32) || defined(__CYGWIN__) /* . filenames give some window systems problems and many apps problems */ zDbName = mprintf("%//_fossil", zHome); #else | > | > > < | 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 | if( file_isdir(zHome)!=1 ){ fossil_fatal("invalid home directory: %s", zHome); } #if defined(_WIN32) || defined(__CYGWIN__) /* . filenames give some window systems problems and many apps problems */ zDbName = mprintf("%//_fossil", zHome); #else zDbName = mprintf("%s/.fossil", zHome); if( file_size(zDbName)<1024*3 && file_access(zHome, W_OK) ){ fossil_fatal("home directory %s must be writeable", zHome); }else if( file_access(zDbName, W_OK) ){ fossil_fatal("configuration file %s must be writeable", zDbName); } #endif if( file_size(zDbName)<1024*3 ){ db_init_database(zDbName, zConfigSchema, (char*)0); } #if defined(_WIN32) || defined(__CYGWIN__) if( file_access(zDbName, W_OK) ){ fossil_fatal("configuration file %s must be writeable", zDbName); |
︙ | ︙ |