If I backup to NTFS or FAT, I use “tar” or similar archive program. The archive keeps the unix permissions. The non-unix file system doesn’t keep them.
Documentation for ntfs-3g suggests something different. It is capable of storing Unix permissions as special ACE on NTFS as well as mapping Unix UID/GID to Windows SID (with corresponding ACE).
From original post it is not clear whether it is one off message or it happens for every file. If message only comes for one single file, the next obvious step is to look how this file differs from others.
Thank you for replies.
This warning is not in all files.
The end of the rsync:
2019/12/28 10:08:00 [4914] sent 471,053,926 bytes received 19,535 bytes 2,043,702.65 bytes/sec
2019/12/28 10:08:00 [4914] total size is 84,812,230,005 speedup is 180.04
I don’t need to save permissions. Owner and group is enough.
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.20141020_175602.jpg.ctdhxo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.20160814_165944.jpg.RIRuUn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0064.jpg.5WWvIn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0065.jpg.77zIXo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0084.jpg.TwwH0p": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0089.jpg.ewPg1m": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0090.jpg.3pVNkn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0091.jpg.IWz6dm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0098.jpg.A6wfEm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0169.JPG.Fjha6l": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0171.JPG.CqPLen": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0172 (1).jpg.Lx1Bml": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0172.JPG.nnz5Pm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0174.JPG.GlEZpo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0175 (1).jpg.294ugp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0175.JPG.TB7JXl": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0191.JPG.hrpKzo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0204.JPG.BnyDfp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0212.JPG.5zgDam": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0221.JPG.b6n2mm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0222.JPG.oTzoxp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0223.JPG.D7UZTl": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0294.JPG.JIeAjn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0501.JPG.1sbteo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_0503.JPG.I0qqNp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_1473.JPG.jFL8Hl": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_1474-2.JPG.igWcMp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_1475.JPG.O7vkzn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_1481.JPG.8c4kPm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.DSC_1486.JPG.p9NP2n": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.IMG_20170615_113849.jpg.MINkWm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.IMG_20180520_134930.jpg.xH5ZGm": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.IMG_20180526_143025.jpg.YJEYNp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.MOV_0281.mp4.8fekln": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.mms_20150320.jpg.5BoEqp": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.mms_20150320_2.jpg.wGBiyo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.mms_img-1414515238.jpg.CUBdKn": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.mms_img571354214.jpg.ZguBul": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.received_1344113292274617.mp4.1Jl2Fo": Operation not permitted (1)
rsync: failed to set permissions on "/mnt/Dane/ZDJECIA/Z telefonu Krysi/Z Samsunga/.received_1344159445603335.mp4.fLQYxl": Operation not permitted (1)
sent 3,567,591,534 bytes received 411,501 bytes 6,309,466.02 bytes/sec
total size is 192,805,921,904 speedup is 54.04
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
I assume that those files that have by incident the same permissions as the fake permissions on the mounted NFTS file system do not generate error messages. Only those where rsync decided that they must be set to something different.
Like permissions, they are not part of an NTFS file system (but see @avidjaar’s post about some strange tricks that seem to be available). And btw, having ownner and group but not the permissions makes this a strange sort of security
The better thing is to use rsync with Linux file systems on both sides. What is the reason that you want to use a non-Linux file system for a typical Unix/Linux way of doing things?
And for others to decide if there is something better then rsync for what you want, we need to know what you want. You only told us about a step that goes wrong (in your opinion), but never told us the goal you are trying to achive.
(see also: How To Ask Questions The Smart Way)
Personaly, my advice is to only use non-Linux file systems for exchanging files with non-Linux operating systems. Not for any other goal.
There is no need to post those. We all understand why the error messages and also why you see what you see in a listing of files on the NTFS file system. And it is explained already why it is as it is.
I have two systems on my laptop (OpenSuse and Windows 10). I want to have access to files from both system, so I decided to have NTFS for common files. I know that isn’t the best solution, but i don’t know a better solution.
I synchronize NFS share with NTFS disk. Maybe Samba would be better, but it’s slower.
When you only want to sync to Windows what is on Linux, just forget about those ownerships and permissions. They won’t be on NTFS and Windows will not use them anyhow. As long as you do not sync the other way around (from Windows to Linux) I see no problem, because you introduce then nothing from the Windows side.
So use your Linux files from a Linux file system. And use your copy on NTFS from your Windows system. And ignore the messages.