[Bug]: Upgrading using occ upgrade
with non-default umask
breaks permissions
#52484
Open
5 of 8 tasks
Labels
Bug description
Upgrading Nextcloud via
occ upgrade
with aumask
set to something more restrictive than the default, such as0077
causes file permissions to be too restrictive, which breaks the web UISteps to reproduce
umask
to something restrictive like0077
occ upgrade
Expected behavior
I think setting a restrictive
umask
should be taken into consideration in the upgrade procedure. I would expect it to manually set the folder and file permissions correctly or set aumask
that the developers expected to see before upgrading.Nextcloud Server version
31
Operating system
Other
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
//Nginx showed permission denied for certain apps in `*/wapps/*. `ls -l` showed that permissions were off
Additional info
OS: Arch Linux
There is a similar issue from years ago, apparently it was not addressed, that's why this bug report:
https://help.nextcloud.com/t/occ-no-longer-working-with-php-7-0-31/36674/2
The text was updated successfully, but these errors were encountered: