-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
drwx--Sr-- 2 48 6136 58 Sep 19 10:04 database
remove this crap, how do you know what the correct permissions are on millions of hosts? You don't!
wp-includes/sqlite/class-wp-sqlite-db.php- if ( false === $result ) {
wp-includes/sqlite/class-wp-sqlite-db.php- wp_die( sprintf( 'Failed to create file: %s', $path ), 'Error!' );
wp-includes/sqlite/class-wp-sqlite-db.php- }
wp-includes/sqlite/class-wp-sqlite-db.php: chmod( $path, 0600 );
wp-includes/sqlite/class-wp-sqlite-db.php- }
wp-includes/sqlite/class-wp-sqlite-db.php-
wp-includes/sqlite/class-wp-sqlite-db.php- // Ensure index.php file to prevent direct access.
wp-includes/sqlite/class-wp-sqlite-db.php- if ( false === $result ) {
wp-includes/sqlite/class-wp-sqlite-db.php- wp_die( sprintf( 'Failed to create file: %s', $path ), 'Error!' );
wp-includes/sqlite/class-wp-sqlite-db.php- }
wp-includes/sqlite/class-wp-sqlite-db.php: chmod( $path, 0600 );
wp-includes/sqlite/class-wp-sqlite-db.php- }
wp-includes/sqlite/class-wp-sqlite-db.php-
wp-includes/sqlite/class-wp-sqlite-db.php- // Restore the original umask value.
Metadata
Metadata
Assignees
Labels
No labels