• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Change multiple folder permissions simultaneously?

LionKing

Regular Pleskian
Server operating system version
Ubuntu Linux
Plesk version and microupdate number
Plesk Obsidian Web Host Edition Version 18.0.54 Update #3
So how do you actually change for a domain somename.domain-whatever.com all folders and sub-folders recursively and simultaneously?
Or chose just to change all file permissions recursively only on the whole root folder?

So far we can only see that you can change one folder and its content at the time, but then both files and folders inherit those permissions set and that isn't very smart or safe for that matter from security standpoint.

There is no other option than this:
1692298941165.png
 
There is no option to select all files --OR-- Just folders and update them all. It basically just change everything to XYZ permission setting.
Even if you tick the box on top which selects all content in the root folder, it doesn't give you an additional option to update them all at once.

Thoughts?
 
The nearest feature request to what you are seeking is Add select tick box to search results to allow action on multiple files. Maybe you want to add your own feature request, describing the idea to limit permission changes to files or even a selection of files (e.g. by a regular expression).

Maybe the same can be done on the Linux console with the help of "find", piping the result to "chmod". You can read a good description how to do it here:
How to Recursively Change the File's Permissions in Linux, e.g.
# find /var/www/vhosts/<domain>/httpdocs -type f -exec chmod u=rw,go=r {} \;
would only change files, not directories.
 
The nearest feature request to what you are seeking is Add select tick box to search results to allow action on multiple files. Maybe you want to add your own feature request, describing the idea to limit permission changes to files or even a selection of files (e.g. by a regular expression).

Maybe the same can be done on the Linux console with the help of "find", piping the result to "chmod". You can read a good description how to do it here:
How to Recursively Change the File's Permissions in Linux, e.g.
# find /var/www/vhosts/<domain>/httpdocs -type f -exec chmod u=rw,go=r {} \;
would only change files, not directories.
Thanks.
Well you can of course do it directly in Linux through the prompt, but obviously it would be faster and easier if you as admin had this privilege too in Plesk. Changing file & folder permissions over FTP takes forever.
Linux through the prompt is fine and fast too; but of course on little mistake and you have really messed up stuff.
 
Back
Top