• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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