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.

//Niklas

2012/6/18 J1 Simón <si...@j1s.es>
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.

//Niklas


_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp



_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp




_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp



_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to