You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the rsync 3.3.0 manpage, rsync --chmod should follow the normal parsing rules specified in the chmod(1) manpage. This is not quite true as the following doesn't work:
$ rsync -av --chmod=g=o,o= testfile1 testfile2
rsync: Invalid argument passed to --chmod (g=o)
rsync error: syntax or usage error (code 1) at main.c(1782) [client=3.3.0]
The intention here is to copy the permissions from others to group (g=o), then clear others' permissions (o=).
chmod(1) supports this (POSIX calls it permcopy).
The text was updated successfully, but these errors were encountered:
According to the rsync 3.3.0 manpage,
rsync --chmod
should followthe normal parsing rules specified in the chmod(1) manpage
. This is not quite true as the following doesn't work:The intention here is to copy the permissions from others to group (
g=o
), then clear others' permissions (o=
).chmod(1)
supports this (POSIX calls it permcopy).The text was updated successfully, but these errors were encountered: