FTP, files directories and rights, difficult question

Discussion in 'Site & Server Administration' started by tofm2, Apr 20, 2007.

  1. #1
    Hiya

    I would like to change files and directories in a different manner on a website whom I can access by FTP shell. All directories from root mus be chmodded to 0755 and all files from root must be 0644 (diffrerent rights from files to directories) If I FTP shell connect, chmod command makes no differences between files and directories. In that case, chmod -Rf 0XXX is not possible.

    On an other hand, i have access to site's directory directly from my KDE explorer (KbearFTP) but this latest also does not make any difference between files and directories.

    So how can I do ?? I would have guessed that find command through pipes could do the job.. But I could do this on an unix shell, is it possible also on an ftp shell ?? :confused:

    Thanks for your valuable help·
     
    tofm2, Apr 20, 2007 IP