Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS cp: preserving permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
user7719
n00b
n00b


Joined: 19 Feb 2021
Posts: 73

PostPosted: Tue Aug 27, 2024 2:50 pm    Post subject: NFS cp: preserving permissions Reply with quote

Hi,
I have a NFS export mounted on two Gentoo machines. Copying a file from the export one Machine 1 fails with the following:

Code:
cp -fpPRH "/mnt/buildsupport/downloads/imx-gpu-viv-6.4.3.p4.6-aarch64.bin" "."
cp: preserving permissions for ‘./imx-gpu-viv-6.4.3.p4.6-aarch64.bin’: Operation not supported


Machine 1:
Code:
Linux ben-xps-15-9530 6.6.41-gentoo-dist #1 SMP PREEMPT_DYNAMIC Fri Aug  9 19:14:27 BST 2024 x86_64 13th Gen Intel(R) Core(TM) i7-13700H GenuineIntel GNU/Linux

Code:
emerge --ask net-fs/nfs-utils -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.36 s (backtrack: 0/20).

[ebuild   R    ] net-fs/nfs-utils-2.6.4-r11::gentoo  USE="libmount nfsv3 nfsv4 uuid -caps -junction -kerberos -ldap -sasl (-selinux) -tcpd" 0 KiB

Code:
192.168.123.4:/zroot/buildsupport/downloads on /mnt/buildsupport/downloads type nfs4 (rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.123.183,local_lock=none,addr=192.168.123.4)



Machine 2:
Code:
Linux buildsever01 5.10.76-gentoo-r1 #14 SMP Tue Dec 12 11:06:01 GMT 2023 x86_64 AMD Ryzen 9 5950X 16-Core Processor AuthenticAMD GNU/Linux

Code:
emerge --ask net-fs/nfs-utils -pv
 * Last emerge --sync was 1y 5d 16h 47m 24s ago.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-libs/libltdl-2.4.7-r1::gentoo [2.4.6::gentoo] USE="-static-libs" ABI_X86="(64) -32 (-x32)" 993 KiB
[ebuild     U  ] sys-devel/libtool-2.4.7-r1:2::gentoo [2.4.6-r6:2::gentoo] USE="-vanilla" 0 KiB
[ebuild     U  ] net-fs/nfs-utils-2.6.3-r2::gentoo [2.5.4-r2::gentoo] USE="libmount nfsidmap nfsv4 uuid -caps -junction -kerberos -ldap -nfsdcld -nfsv41 -sasl (-selinux) -tcpd (-ipv6%*)" 956 KiB


Code:
192.168.123.4:/zroot/buildsupport/downloads on /mnt/buildsupport/downloads type nfs4 (rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.123.21,local_lock=none,addr=192.168.123.4)


What might be going on?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9823
Location: almost Mile High in the USA

PostPosted: Tue Aug 27, 2024 4:38 pm    Post subject: Reply with quote

Where is "." located, what file system is it, and does it support permissions?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
user7719
n00b
n00b


Joined: 19 Feb 2021
Posts: 73

PostPosted: Tue Aug 27, 2024 5:33 pm    Post subject: Reply with quote

eccerr0r wrote:
Where is "." located, what file system is it, and does it support permissions?


Its an ext4 partition on both Machine 1 and Machine 2.

After the cp command fails the file does exist and if I execute the following command it completes with no error.

Code:
cp -fpPRH "imx-gpu-viv-6.4.3.p4.6-aarch64.bin" "imx-gpu-viv-6.4.3.p4.6-aarch64.bin.2"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum