Re: [lftp] Permissions when mirroring?

2012-06-18 Thread Niklas Elmeholt
No difference with --no-umask, I turned debug on, and here is the output: ---> PRET RETR the.file.rar <--- 200 OK, planning for upcoming download ---> PASV <--- 227- Using FTP-Slave for upcoming transfer <--- 227 Entering Passive Mode (84,130,128,36,161,28). Connecting data socket to (84.130.

Re: [lftp] Permissions when mirroring?

2012-06-18 Thread J1 Simón
I confirm this wrong behaviour. Perhaps the local umask is interfering in the mirror process? I have created, in server, a folder and file with permissions 777. But when I download them with mirror the permissions goes to 775 for folder and file 664. I think this is a

Re: [lftp] Permissions when mirroring?

2012-06-18 Thread Alexander V. Lukyanov
On Mon, Jun 18, 2012 at 10:36:48AM +0200, Niklas Elmeholt wrote: > If I create a folder with same user in the shell (mkdir tmp) it went 777. > But when lftp creates it, during mirroring, it went 775. > I have tried mirror:set-permissions without any difference. Try also --no-umask option of mirror

Re: [lftp] Permissions when mirroring?

2012-06-18 Thread Niklas Elmeholt
If I create a folder with same user in the shell (mkdir tmp) it went 777. But when lftp creates it, during mirroring, it went 775. I have tried mirror:set-permissions without any difference. //Niklas 2012/6/18 J1 Simón > By default, mirror copies the permissions. I think you can see the man >