• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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