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 bug, no?
El 18/06/12 10:36, Niklas Elmeholt
escribió:
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.
By default, mirror
copies the permissions. I think you can see the man page
again, perhaps this topic helps: mirror:set-permissions.
Are you sure that the folders in server have permissions
777?
Regards.
El 17/06/12 20:39, Niklas Elmeholt escribió:
Another question, I have set my umask to
000 (777) as default on a server. But when I mirroring
a directory with lftp the created dir gets permission
775, why? And can it be overrided? Tried to figure it
out by myself, but didn't found a solution.