Does anyone know how mirror:set-permissions is supposed to work.
I'm using a mirror --reverse command. In local my new files have write permission for group (g+w).
On my remote host, new uploaded files have by default no write permission for group (g-w).
But when upload in remote (with -dflag for debug log) lftp doesn't try to change permission on new uploaded files.
I expected lftp launch a chmod command on this new uploaded files but maybe I misunderstood the mirror command with mirror:set-permissions to true ? Or maybe I've to add extra 'set ...' config(s) ?
I have the workaround to use the lftp chmod -R command but it's slow, very slow ... because I've lot of folders / files. Or maybe someone have a tip to change effectively the folder / file permissions with lftp.
I'm using the last version : 4.9.2 (not present in GitHub release ? :smile: )
Hi,
Does anyone know how
mirror:set-permissions
is supposed to work.I'm using a
mirror --reverse
command. In local my new files have write permission for group (g+w
).On my remote host, new uploaded files have by default no write permission for group (
g-w)
.But when upload in remote (with
-d
flag for debug log)lftp
doesn't try to change permission on new uploaded files.I expected
lftp
launch a chmod command on this new uploaded files but maybe I misunderstood themirror
command withmirror:set-permissions
totrue
? Or maybe I've to add extra 'set ...' config(s) ?I have the workaround to use the lftp
chmod -R
command but it's slow, very slow ... because I've lot of folders / files. Or maybe someone have a tip to change effectively the folder / file permissions with lftp.I'm using the last version : 4.9.2 (not present in GitHub release ? :smile: )
Thanks in advance for your precious help.