FileManager: Trash restore: restore correct parent folder permissions

Version 1.61.0


When restoring a file or folder from the /.trash folder, or similarly when creating a parent /.trash/* path to move a deleted file/folder into, ensure that if a new parent path matches the old one. This is to ensure that if DA is creating any paths upon restore, the created parent values correctly match what was previously there. ---- T26484

Interested to try DirectAdmin? Get a 30-day Free Trial!