[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #16 from john lutz  ---
I had erroneously though that -A was attribute information (those that
are controlled by chmod) and even more erroneously thought -A was part of
-a.

anyway, i went to my Ubuntu configuration and 'rsync -rav src dest'
worked out of the box perfectly. I guess Fedora does something unfancy
with -A that Ubuntu does not.

I would gather -A is defaulted under Ubuntu and not Fedora. '

tune2fs -l /dev/mapper/fs' have both mounted 'acl' as default.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #15 from Kevin Korb  ---
rsync's -a specifically does not include -A or -X because these are not
supported by all versions of rsync, or on all platforms, or on all filesystems,
and they can be disabled at compile time.  If you specify -A or -X and either
end doesn't support them you get an error.

-H is also not included in -a but I personally would be happy if it were.

Again, from the man page:
-a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #14 from john lutz  ---
Also, if I stop a 'rsync -aiivvA src dest' with control-c it will
still copy *all* the correct ACL and file content data.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #13 from john lutz  ---
this doesn't fix the fact that 'rsync -rav src dest' still doesn't work
as intended on Fedora only.

so using -a and -A apparently fixes the problem. Even though -a should
specifically include -A .This would suggest that
either -r or -a doesn't have the proper code to transfer all file information
correctly in rsync under Fedora only.

that debug stuff i'm not totally concerned with and had nothing to do
with fixing the problem. this smells like a bad block copy in rsync code
under Fedora only.

John

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

Wayne Davison  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #12 from Wayne Davison  ---
This is the sort of discussion that would be a better fit on the mailing list:

https://rsync.samba.org/lists.html

As for the "--debug 2015" option, that is currently being taken as a short-hand
for "--debug ALL2015" (level 2015 for all categories), which I will change to
produce an error.

The wrong perms on the directories are indeed caused by you interrupting the
transfer.  You can avoid that early-creation idiom by either using -O
(--omit-dir-times) but ONLY in 3.1.1 or later, OR by specifying --no-recursive
in any 3.x version.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #11 from Kevin Korb  ---
Permissions are set at the end.  If you ^C rsync then permissions won't be set.
 Could you try my last suggested command with a new (empty) target and let it
finish?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #10 from john lutz  ---
..regarding previous... all empty directories. but i did control-c it.

again, when i used rsync -rav rav and waited for completion still got
empty directories.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #8 from Kevin Korb  ---
Forget --debug.  The --debug option is for providing LESS (as in more specific)
debugging information than additional instances of -v.  The modifier option
isn't a number it is which debugging info you want it to show.  For instance
--debug ACL.


Try this:
rsync -avviiA /usr/lib/ delme/
(you should almost never have a * in the source parameter)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #7 from john lutz  ---
okay, i tried

rsync -ravA --debug 9 /usr/lib/* delme

it was copying , still wrong ACL information and nothing discernable
that raised an error.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #6 from Kevin Korb  ---
> no! rsync -rav -vvii 2015 ./delme
> results in no preservation of attributes. -a includes -A BTW!

That makes no sense at all.  -vvii only modifies output.  -a includes -r but it
specifically does NOT include -A.  Here is the line from the man page:
-a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

> [john@johnsplace Downloads]$ rsync -ravAvvii --debug 2015 delme
> results in all directories and files having the current date/time.

Because you are using --debug wrong (see the next block)

> akso I tried the following:
> rsync -ravAvvii --debug /usr/lib/* delme
> Unknown --debug item: "/usr/lib/abrt-java-connector"
> rsync error: syntax or usage error (code 1) at options.c(450) [client=3.1.1]

Again, this is not how you use --debug.  The --debug option takes a second
parameter and it is interpreting the first filename as that parameter.  Frankly
I am not sure why "--debug 2015" wasn't also causing this syntax error.

When you run:
rsync -rav 2015 delete_me/
The 2015 parameter is what kind of debugging you want not a source parameter. 
All rsync is going to do is list the delete_me directory.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #5 from john lutz  ---
the thing is. i been using rsync for 4 years and 'rsync -rav src dest' always
worked for me under ubuntu and debian yet under Fedora it seems to be a
treasure trove of bugs and general disarray.

now don't get me wrong rsync will freeze and unfreeze and freeze event he mouse
cursor ,etc al. a long running transfer under ubuntu and debian but it will
retain the ACLS and the transfer the proper files. while under Fedora it does 
not at all.

i am using a external usb3 hard drive with ext4. same exact hardware setup with
debian and ubuntu i've already mentioned.

john

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #4 from john lutz  ---
no! rsync -rav -vvii 2015 ./delme
results in no preservation of attributes. -a includes -A BTW!

[john@johnsplace Downloads]$ rsync -ravAvvii --debug 2015 delme

results in all directories and files having the current date/time.


akso I tried the following:

rsync -ravAvvii --debug /usr/lib/* delme
Unknown --debug item: "/usr/lib/abrt-java-connector"
rsync error: syntax or usage error (code 1) at options.c(450) [client=3.1.1]
[root@johnsplace 2015]#

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #3 from Kevin Korb  ---
Instead of --debug (which should really have an additional parameter) try with
-vvii  Also, since you clearly have ACLs you probably want -A too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #2 from john lutz  ---
Also. The directories with improper file permissions are EMPTY!!!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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


[Bug 11572] rsync --debug doesn't work, and gives erroneous results when taken out

2015-10-24 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11572

--- Comment #1 from john lutz  ---
also rsync -rav on external usb3 ext4 hard drive systems like ubuntu or debian
(and very much UNLIKE Fedora where it fails completely) sometimes lock to the
point that the mouse cursor locks. but after a while it frees up and locks
again only to completely the task after some time.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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