Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I checked, the files don't have that weird extension. They are mostly pdf printed from Firefox and odt.
This post says it is a permission issue. I don't know enough to tweak permissions. So my question is, why did these files get this property, and how can I avoid it in the future?
When I checked, the files don't have that weird extension. They are mostly pdf printed from Firefox and odt.
This post says it is a permission issue. I don't know enough to tweak permissions. So my question is, why did these files get this property, and how can I avoid it in the future?
Thank you!!
There are multiple possible causes for that error. Can you provide the rsync command line you used?
Doing so shoudl make enough of the issue clear that we can make a better determination.
/car idling source/.The biggest winter energy myth.odt.cmxA6y"
libreoffice creates a hidden temp file when you open a document and should delete it when closed. Looks like you have a straggling file.
rsync wants to change permission on the destination like the source but since permissions between linux and FAT file systems are not compatible it fails.
This is why rsync works when using an ext3 file system as the destination.
As posted knowing what options you are using will help. One thing to note is that -a i.e. archive mode equals -rlptgoD (no -H,-A,-X) and p = permissions.
Just something equivalent to a no frills file browser drag-and-drop.
thank you for your insights, I will remember to include the command in the future.
Dang straggling files, I still have some refuse left from Mac OS.
However, my hidden files are visible and I don't see that extension anywhere. The extension is also there on the PDFs printed on Firefox. I'm guessing that extension is for an rsync temp file.
Maybe I could use an option to strip permissions until I learn them better.
When you show us a command it really helps if you show us the ENTIRE command, that one has no source or target and would error due to the missing elements. I am sure that was not your real command line.
We may not need it.
I have reviewed the evidence and situation again, and have this advice: use something like tar that preserves the permissions even if you use a target tar file on a fat volume, for your backups. (or use a true backup tool, that takes these things into account.) The rsync error is likely to be, as michaelk mentioned, due to rsync trying to replicate the *nix permissions on a FAT target where they are not supported. Therefor it appears that you see the error because you are using the wrong tool, or using it in a situation where your expectations are not supported.
IF the permissions are of no importance, you could just ignore the errors. In that case you cannot expect the files to restore to a *nix file system (Ext2/3/4, XFS, BTRFS, etc) with the original permissions. If that is not a problem, this may still be an workable solution. If the ownership and permissions matter, then you need a different solution.
I will study Tar. If I archive a directory that has files with weird permissions, and extract them into a different filesystem, wouldn't tar refuse to copy them? If not I would expect the issue to recur during a later rsync.
Maybe I should just accept that filesystem conversions are lossy.
It looks like you're missing the / on the destination directory. rsync behaves very differently if the slashes are missing from directory names.
That's surprising because I got that from dragging it in from Nautilus. Is there some special purpose between the inclusion or exclusion of a slash?
Quote:
Originally Posted by Turbocapitalist
Also the -r is redundant when combined with -a because the -a covers -r -l -p -t -g -o and -D. You might wish to add a -v though.
Good to know! I may never use -v anymore now that there's --info=progress2. The progress % is very inaccurate but it tells me that it's working, and it only prints out the errors, which is more important than the successes.
I believe the rsync man page on my Manjaro install contains examples and a description of the meaning and effects of the trailing '/' for the source and target cases.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.