Topic "How to run 'chmod -r' command dor sub directories?"

Author Message
eliba3

Guest


I have tried to run a recursive chmod but actually it did not work to sub directories under Installer.

i.e

winscp.StandardInput.WriteLine("chmod -R 777 /home/Installers/*.*");
[ Not work to /home/Installers/Internal ]

Did I write the command OK?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
There's no -R switch to chmod. WinSCP chmod is recursive implicitly. Remove the switch.
If this does not help, please post a log file.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License