Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_text.c

    reeb85a8 r34337a7  
    3030static void text_init (void)
    3131{
    32         /* Don't complain about the configuration directory anymore, leave it
    33            up to the XML storage module, which uses the same directory for it
    34            anyway. Nobody should be using just the text plugin anymore since
    35            it's read only! */
     32        if( access( global.conf->configdir, F_OK ) != 0 )
     33                log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", global.conf->configdir );
     34        else if( access( global.conf->configdir, R_OK ) != 0 || access( global.conf->configdir, W_OK ) != 0 )
     35                log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to %s.", global.conf->configdir );
    3636}
    3737
Note: See TracChangeset for help on using the changeset viewer.