Open geckolinux opened 3 years ago
This sounds like a problem of the software you used for copying.
rsync -avH
is a quite good "copy program".
@ThomasWaldmann Thanks for the reply. I thought of that too, but I tried copying a directory from/to my local filesystem and it preserved all the executable bits. (Nemo file manager for Cinnamon desktop.)
BTW, are you running the copy as root?
Hmm, no, although the files originally belonged to my same user account (UID 1000), so it seems like it shouldn't matter.
How is the target fs mounted (fs type and mount options in mount
output)?
borg mount myself@192.168.1.9:/srv/dev-disk-by-label-BtrFS-RAID1/Borg /mnt/manual/
Also tried
borg mount -o ignore_permissions myself@192.168.1.9:/srv/dev-disk-by-label-BtrFS-RAID1/Borg /mnt/manual/
Thanks, but I meant the (copy) target fs.
Ah sorry, it's a Btrfs volume:
UUID=b542f3b6-a328-4822-ac8c-a0b40b718d19 /home btrfs subvol=@home,defaults,noatime,space_cache,autodefrag,compress=zstd 0 2
Hmm, target fs mount looks OK.
I also tried using Nemo to copy an executable .sh
file from a SMB share on my NAS, mounted to /mnt/autofs
via Autofs, and it preserves the executable bit.
Thanks for the help, I appreciate it.
Hi I'm using Borg 1.1.17 on openSUSE Tumbleweed. When restoring files from a
borg mount
and browsing the mounted archive with the file manager, the files have their former permissions, including the+x
executable bit. But when copying the folder to the target system, executable permissions are lost. Is this a FUSE limitation, or a Borg decision, or is it at the operating system level? Thanks a lot for the help.