mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
File permissions revert to 0770 after file modification #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Skyspek on 10/3/2024
CloudPanel version(s) affected
2.4.2
Description
When I make modifications to a file via the file manager, the file permissions that were initially set to 0644 are automatically changed to 0770 after the modification. This behavior causes permission issues, and I would like the permissions to remain unchanged after editing a file.
How to reproduce
You can also test this with a folder:
Possible Solution
A potential fix would be to modify the way file permissions are handled after edits in the file manager, ensuring that the initial permissions remain intact unless explicitly changed by the user.
Additional Context
No response