[scponly] rsync with --partial and scponly

Kaleb Pederson kpederson at mail.ewu.edu
Tue May 23 13:08:11 EDT 2006


This is a known bug in the current version of scponly :(.  The problem is that 
the getopt parsing has not been correctly setup to handle long arguments, 
only the short arguments.

Thus '--partial' gets parsed as '-p -a -r -t -i -a -l' at least one of which 
is not an allowed parameter.  Similarly, '--server' gets parsed 
as '-s -e -r -v -e -r' causing the problem.

Neither I nor anybody else has yet had time, as far as I know, to make a patch 
to fix it.

Someone made a quick fix to allow '--server' as the first argument, but no 
correct formal patch has been made.

--Kaleb


On Tuesday 23 May 2006 9:48 am, Ensel Sharon wrote:
> This is very odd ... when I try to rsync to my scponly server, not only
> does it fail, but I see this in my logs :
>
> Apr 10 16:33:46 server scponly[40863]: option --partial is not permitted
> for use with /usr/bin/scp (username: username(username),
> IP/port: 192.168.0.1 19999 22)
>
> Apr 10 09:33:46 server kernel: Apr 10 16:33:46 server
> scponly[40863]: option --partial is not permitted for use with
> /usr/bin/scp (username: username(username), IP/port: 192.168.0.1 19999 22)
>
> Apr 10 16:33:46 server scponly[40863]: requested command
> (/usr/local/bin/rsync --server -vlogDtpr --partial . /username) tried to
> use disallowed argument (username: username(username),
> IP/port: 192.168.0.1 19999
> 22))
>
> Apr 10 09:33:46 server kernel: Apr 10 16:33:46 server
> scponly[40863]: requested command (/usr/local/bin/rsync --server -vlogDtpr
> --partial . /username) tried to use disallowed argument
> (username: username(usernam
> e), IP/p
> ort: 192.168.0.1 19999 22))
>
>
> First, what is wrong with 'partial', and second, why am I getting errors
> related to scp, when I am using rsync ?  See:
>
> option --partial is not permitted for use with /usr/bin/scp
>
> Thanks.
>
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20060523/553f1f5c/attachment.bin


More information about the scponly mailing list