Author Topic: Wrong permission for folders or files  (Read 2094 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Wrong permission for folders or files
« on: January 30, 2025, 10:59:03 PM »
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

Offline
***
Re: Wrong permission for folders or files
« Reply #1 on: January 31, 2025, 11:43:52 AM »
How do you upload and extra the .zip files ? Can you please shed light on this ?

Offline
*
Re: Wrong permission for folders or files
« Reply #2 on: January 31, 2025, 09:41:12 PM »
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

Offline
***
Re: Wrong permission for folders or files
« Reply #3 on: January 31, 2025, 10:43:31 PM »
Don't see any problems. The same CWP version:
Code: [Select]
# /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.