cloudpanel-io/cloudpanel-ce

Permission problem

Saonil opened this issue · 1 comments

CloudPanel version(s) affected

2.4.2

Description

Permissions are not set correctly when loading from the interface or with the automatic installation of WordPress. By default, all files and folders are loaded with 0770. It should be 0755 for folders and 0644 for files.

How to reproduce

Install a clean version on ubuntu 22.04

Possible Solution

No response

Additional Context

No response

It's true if you are working only with a single ssh user (site user), but when you are working with multiple users, you need other permissions.

You can set the permissions to your need: https://www.cloudpanel.io/docs/v2/cloudpanel-cli/site-user-commands/#permissions-reset