• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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