On 06/08/2018 08:48 PM, Robert McBroom via users wrote:
On 06/08/2018 10:57 PM, Robert McBroom wrote:
> System is mounted with CIFS with write permission. NAS only uses
> version 1.0.
>
> Sample effects
> rsync . -av /mnt/external/f27/Packages
>
> rsync: mkstemp
> "/mnt/external/f27/Packages/.ffmpeg-libs-3.3.6-1.fc27.x86_64.rpm.eZUrRd"
> failed: Permission denied (13)
It's likely that you can't create files that start with . on CIFS or
NTFS. Try using the "--inplace" option with rsync.
> Using cpio command, files are transfered with a message about the
mode
> change failure.
>
> find . -print |cpio -p -d -m /mnt/external/f27/Packages
>
> cpio:
> /mnt/external/f27/Packages/./ffmpeg-libs-3.3.6-1.fc27.x86_64.rpm:
> Cannot change mode to rw-r--r--: Permission denied
NTFS permissions are also different and don't match the Unix permission
settings. You will get the same errors from rsync as well.
> The chmod command has no effect on the permission settings of the
ntfs
> files.
There are probably some combinations that would work like removing write
from the user or all, but in most cases the permission set isn't
possible to represent on NTFS.