Skip to content

drwx--Sr-- 2 48 6136 58 Sep 19 10:04 database incorrect permissions! #249

@f1-outsourcing

Description

@f1-outsourcing

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions