Change permissions on files and directories
I've used WinSCP to transfer a Tar/GZip from a Windows XP system to a Linux system.
When expanded to the Linux system, the permissions on files are set to 640 not 644, and the directories aren't being set to 755.
Is there a way to specify this in WinSCP?
Or is there a way to quickly change a complicated directory structure to have files set to 644 and directories to 755?
I've already worked out how to change the permissions manually. But it's not a practical solution if the structure transferred is complicated. Can you imagine how long it would take to go through say a phpBB or WordPress install and change the permissions of all of the files and directories manually?
Would there be a way using WinSCP, to recursively go through a directory structure and set files to 644 and directories to 755?
Or if not using WinSCP, some other solution?
Best Regards, Lloyd Borrett.