2 ms·
That is not what most file copying tools do by default. They usually only do that when you specify it and for good reasons. When foo copy a file from user bar,
by prmoustache 2y ago
That is not what most file copying tools do by default. They usually only do that when you specify it and for good reasons.
When foo copy a file from user bar, and put it on his homedir, the last thing h want is for it to be owned by the foo user.
Your expectations are irrealistics.
- bayindirh 2y ago> That is not what most file copying tools do by default. Yes, and that's OK. > When foo copy a file from user bar, and put it on his homedir, the last thing h want is for it to be owned by the foo user. It depends. > Your expectations are irrealistics (sic). No, rsync can do this (try -avSHAX) and tar does this by default, and we're talking about rsync here.
- prmoustache 2y ago> rsync can do this (try -avSHAX) That is exactly what I am saying, rsync do not do this by default either, you have to tell him to via optionnal parameters.
- bayindirh 2y agoThe thing is, if you’re knowledgeable enough to use rsync over cp, you already know relevant flags to do that.