cyberpanel/filemanager
usmannasir 46e40d6822 Fix permission race condition in fixPermissions function
Fixes #1583 - Ubuntu 24 permission issues causing 404 errors

Changes:
- Move main public_html permission setting to END of fixPermissions function
- Ensures public_html maintains user:nogroup ownership (not user:user)
- Prevents child domain processing from interfering with main directory permissions
- Changed all async popenExecutioner calls to sync executioner calls
- Reordered operations: permissions first, then ownership

This fixes the issue where clicking "Fix Permissions" in file manager
would incorrectly change public_html group from nogroup to the user's group,
causing 404 errors on Ubuntu 24.
2025-10-16 16:11:28 +05:00
..
migrations Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
static/filemanager Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
templates/filemanager Enhance security by adding rel="noopener" to external links 2025-09-13 17:44:37 +02:00
.DS_Store Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
__init__.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
admin.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
apps.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
filemanager.py Fix permission race condition in fixPermissions function 2025-10-16 16:11:28 +05:00
models.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
tests.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
urls.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
views.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00