On Mon, Sep 05, 2005 at 11:21:09AM +0200, Thomas Glanzmann wrote: > Hello Alex, > > > `mirror' is the only command in lftp which can copy file permissions. > > Try to use it. > > I already use mirror. But I want that my local umask is used instead of > the remote file permissions. Everytime I mirror files from a remote site > with 'broken' permissions I have to fix them manually afterwards.
Try `--no-perms' option, so that permissions are not copied. BTW, umask is used to clear access mode bits, not to set them. That is if the file is not readable, umask won't help it. -- Alexander.
