Hello:

I want to chmod a dir recursively, but no matter whether I specify -R option 
to chmod or not, lftp only chmod the dir, refusing descend into subdirs.

Could you have a try and confirm this? Or this is a fault of my own?

Thanks very much.

Heng

Below are some outputs from lftp:

lftp ***:/> dir cronjobs/
-rw-r--r--   1 cssa-yor cssa-yor        0 Feb 22 09:15 ldapusermanage.php
-rw-r--r--   1 cssa-yor cssa-yor        0 Feb 22 09:16 notification.php
-rw-r--r--   1 cssa-yor cssa-yor        0 Feb 22 09:18 rssimport.php
lftp ***:/> chmod -R -v 777 cronjobs/
---> SITE CHMOD 777 cronjobs/
<--- 200 SITE CHMOD command successful
Mode of `cronjobs/' changed to 0777 (rwxrwxrwx).
lftp ***:/> chmod -R -v 777 cronjobs
---> SITE CHMOD 777 cronjobs
<--- 200 SITE CHMOD command successful
Mode of `cronjobs' changed to 0777 (rwxrwxrwx).

Reply via email to