Re: --server options
I don't remember your original question but if I didn't suggest looking at rrsync I should have. It comes with rsync in the contrib dir and it knows which options to allow/deny and it can restrict the transfer to a specific dir and read-only or write-only. Since it comes with rsync it is kept current with the options rsync uses including the undocumented ones. Even if it doesn't do exactly what you are trying to do, it is a perl script so it should be easy enough to modify for your needs. Just keep a diff so you can easily analyze changes in new versions. On 2/7/19 10:57 PM, Richard Hector via rsync wrote: > On 21/01/19 8:07 PM, Richard Hector via rsync wrote: >> Hi all, >> >> I see a couple of earlier threads, particularly this one: >> >> https://www.mail-archive.com/rsync@lists.samba.org/msg32328.html >> >> partly answer my question, but not fully. >> >> I also am writing a wrapper, so that I can run multiple dirvish runs >> against the same server, using forced commands, but without using >> multiple keys to get multiple commands, which is my current workaround. >> >> But in the interests of locking things down, I'd like to know what the >> options are in the -eSTRING section, so I can choose which to >> allow/force. Is that documented anywhere? Or do I have to resort to the >> source? >> >> And/or can I safely assume that anything in the -eSTRING won't let a >> client get any more than I intended? Does the STRING just run from after >> the -e to the next whitespace? > > Anybody? Are these options/flags deliberately kept obscure? > > Cheers, > Richard > > -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: https://sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., signature.asc Description: OpenPGP digital signature -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: --server options
On 21/01/19 8:07 PM, Richard Hector via rsync wrote: > Hi all, > > I see a couple of earlier threads, particularly this one: > > https://www.mail-archive.com/rsync@lists.samba.org/msg32328.html > > partly answer my question, but not fully. > > I also am writing a wrapper, so that I can run multiple dirvish runs > against the same server, using forced commands, but without using > multiple keys to get multiple commands, which is my current workaround. > > But in the interests of locking things down, I'd like to know what the > options are in the -eSTRING section, so I can choose which to > allow/force. Is that documented anywhere? Or do I have to resort to the > source? > > And/or can I safely assume that anything in the -eSTRING won't let a > client get any more than I intended? Does the STRING just run from after > the -e to the next whitespace? Anybody? Are these options/flags deliberately kept obscure? Cheers, Richard -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--server options
Hi all, I see a couple of earlier threads, particularly this one: https://www.mail-archive.com/rsync@lists.samba.org/msg32328.html partly answer my question, but not fully. I also am writing a wrapper, so that I can run multiple dirvish runs against the same server, using forced commands, but without using multiple keys to get multiple commands, which is my current workaround. But in the interests of locking things down, I'd like to know what the options are in the -eSTRING section, so I can choose which to allow/force. Is that documented anywhere? Or do I have to resort to the source? And/or can I safely assume that anything in the -eSTRING won't let a client get any more than I intended? Does the STRING just run from after the -e to the next whitespace? Thanks, Richard -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: --sender and --server options
On Sun, 2006-05-28 at 02:05 +0200, myrdhin bzh wrote: > I found a script with a rsync command. I see two > options with this command : --server and --sender. I > know it is internal options but i would like to > understand the signification of these options :) A user-invoked instance of rsync doesn't get --server and thus knows to automatically invoke a second instance of rsync to handle the remote end of the transfer. The first instance passes --server to the second so that the second knows the connection has already been set up and it only has to read and write the remote directory. If the first instance did not pass --server to the second, the second would try to invoke yet another instance of rsync, resulting in confusion. --server may or may not be accompanied by --sender to tell the second instance whether it is to be sender or receiver (for a pull or a push, respectively). It is very rare that a user script would pass --server to rsync. I can only think of two cases in which doing so would be useful: (1) An --rsync-path option is given to the first rsync, causing it to remotely invoke the script instead of the second rsync. Now the script needs to delegate to a real second rsync. For some reason, instead of passing on the options it got from the first rsync verbatim (--server being among these options), the script constructs its own list of options for the second rsync. (2) The script uses an rsync instance as a helper for reading and/or writing a file tree and talks to it using the rsync protocol. The script uses --server when invoking this instance. For example, the script might be an improved recursive "diff" program that can compare a local directory to a remote one by using rsync to read those parts of files in the remote directory that differ from their counterparts in the local one. (Such a program might be useful--has anyone written one?) Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--sender and --server options
Hello, I found a script with a rsync command. I see two options with this command : --server and --sender. I know it is internal options but i would like to understand the signification of these options :) Really thanks for your help :D ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html