Skip to content

[Bug]: Webbased updater does not use 'localstorage.umask' settings #651

@mspbonn

Description

@mspbonn

⚠️ This issue respects the following points: ⚠️

Bug description

Using a non-standard umask:

config.php:
.
.
'localstorage.umask' => 0072
.
.

User files are created with permission 604.

Using webbased updater results in permission 640.

File permission 604 ist required at hetzner.com (see https://docs.hetzner.com/konsoleh/general/faq/file-authorization/)

Steps to reproduce

  1. Set non-standard umask in config.php
  2. Perform nexcloud or app upgrade
  3. Check permission

Expected behavior

Correct usage of umask-setting.

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions