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

Advertisement

eliba3
Guest

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

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: How to run 'chmod -r' command dor sub directories?

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.

Reply with quote

Advertisement

You can post new topics in this forum