• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Skeleton files chmod

D

dood

Guest
I've uploaded a skeleton file but the chmod is all wrong now. Can you preset the chmod for each file?

Apparently no one else has ever dealt with this issue, at least I couldn't find it.
 
ho dood ! :)

I had the same issue as you ...

I created a directory called "control" in the skeleton that I didnt it or its contents changed by the silly users.

Therefore I created a couple of system events

1. domain created
2. domain updated

and in those events put in

chmod root /var/www/vhosts/*/httpdocs/control -R

So each time it would go and make sure they were owned by root and therefore the user could not updated.

I will revisit these events as I am sure you can run them using <new_domain_name> instead of the "*".

regards

Andy @ teckna
 
I tried everything I could think of and never could get it the chmod to auto set for the skeleton files.

Even directly changing them from root in ssh would revert back to default chmod settings.

Thanks for the info, I'll have to look into it.
 
Back
Top