Wrong permission for folders or files

Started by Biswashost, January 30, 2025, 10:59:03 PM

Previous topic - Next topic

Biswashost

Hello, recently I notice wrong folders or files permissions with latest CWP V: 0.9.8.1190, Before I was not notice this with any others version. If I upload & extract any zip files to cwp user panel, then all folder permission become 777 & all files permission become 666. And each time I need to fix it by click "Fix Permissions" button from CWP User panel. Anyone facing this issue except me? Is it any bug or any problem with my setup?
Biswas Host Ltd

www.biswashost.com

Domain, Hosting, Cloud Hosting, VPS, Dedicated Server,

Web Design, SSL, VPN, Professional Email & More

cyberspace

How do you upload and extra the .zip files ? Can you please shed light on this ?

Biswashost

I simply using CWP user panel "file manager" to upload & extract any zip files & got that issue.
Biswas Host Ltd

www.biswashost.com

Domain, Hosting, Cloud Hosting, VPS, Dedicated Server,

Web Design, SSL, VPN, Professional Email & More

cyberspace

Don't see any problems. The same CWP version:

# /scripts/cwp_version
0.9.8.1190


Logged into the user level panel, uploaded a .zip file then extracted all files. Access permissions look good:

Files - 644
Folders - 755
Owner and group are correct.

In my opinion the access permissions are preserved when you extract the files from any archive. So extract the files from the same archive using GUI (FileManager) and unzip in shell then compare access permissions.