• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Allowing plesk to delete/edite files owned by root

This is possible only if you make Plesk to run as root, which is a major security risk.
 
is there a way i can change the owner a directory/files and its subdirectories/files owner easily?
 
Change to the directory which contains the client's (or users) main directory, then issue:

chown ownername:groupname -R directoryname

If you want to leave the groupname unchanged, then do not specify one, just put the ownername: (with the colon).

Be careful if changing the domain's root/home directory, the owner/user name should be the same as the ftp user name for that domain, and the group should be psacln.

The -R tells the command to do it recursively. You can also put -v to have chown list all files/folders which are changed.

Before doing this, please tell us what directory structure you are thinking of changing the ownership on, so we can verify that you will not cause additional problems on your server!
 
Thanks for the help! ... i was thinking of everything inside httpdocs/ in various domains (uploaded files via ssh and their owner is set to root)
 
That's what I figured, so just make sure you chown the user to the ftp username for that domain, and might as well verify the group is psacln, and all should be well again in the land of nod....
 
Be careful to maintain the permissions of the way the directories were structured when the domain was created. i.e. chowning files from root to the domain is fine within httpdocs, httpsdocs, etc , but not recommended on some of the other folders at that level.
 
Back
Top