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

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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