Topic "recursive chmod in command-line?"

Author Message
jedduff
[View user's profile]

Joined: 2011-08-25
Posts: 1
After a couple hours of searching and testing, I didn't found how to do recursive chmod with the command-line.

this is my script :

open scp://USERNAME:PASSWORD@192.168.1.251
cd /mnt/FILESERVER/
chmod 777 * <<--- not recursive Sad

How can I set all files and all sub directories with 777?

I can use ftp, sftp or scp

thanks Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
chmod is recursive. It has some limitations with SCP. Though I'm not sure if this should be your case. Anyway, it is worth trying SFTP instead.
_________________
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