Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: recursive chmod in command-line?

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.
jedduff

recursive chmod in command-line?

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 :(

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

I can use ftp, sftp or scp

thanks :)