GNU bug report logs -
#63856
>=coreutils-9.2 cp: preserving permissions: Operation not supported when copying from no_root_squash nfs export
Previous Next
To reply to this bug, email your comments to 63856 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#63856
; Package
coreutils
.
(Fri, 02 Jun 2023 17:58:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Robertson <Peter <at> corrosivetruths.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Fri, 02 Jun 2023 17:58:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I have an nfs export: /mnt/Backup Hostname(no_root_squash,ro,mp)
It exports this drive, LABEL=Backup /mnt/Backup
btrfs noatime,compress-force=zstd:99
I have a locally mounted drive, /mnt/Mirror (LABEL=Mirror
/mnt/Mirror btrfs compress-force=zstd:99,noatime,nofail)
I mount the nfs share: mount Hostname:/mnt/Backup /mnt/Backup.
I cp a file from one to the other, cp -av
/mnt/Backup/snaps/elden/90/info.xml
/mnt/Mirror/snaps/elden/90/info.xml.
Under coreutils-9.1 I get no error. Under coreutils-9.2 I get cp:
preserving permissions for ‘/mnt/Mirror/snaps/elden/90/info.xml’:
Operation not supported
In both cases the resulting copy looks like this:
# ls -l /mnt/*/snaps/elden/90/info.xml
-rw------- 1 root root 184 Apr 17 10:52 /mnt/Backup/snaps/elden/90/info.xml
-rw------- 1 root root 184 Apr 17 10:52 /mnt/Mirror/snaps/elden/90/info.xml
I git bisected with gentoo's live ebuild coreutils-9999
# first bad commit: [28a85116feef1f9a6f31c5ab8cfe50d7aa8d6fc4] build:
update gnulib submodule to latest
# cp --version
cp (GNU coreutils) 9.2
Packaged by Gentoo (9.2-r2 (p0))
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.
Reproducible: Always
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#63856
; Package
coreutils
.
(Sat, 03 Jun 2023 18:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 63856 <at> debbugs.gnu.org (full text, mbox):
On 02/06/2023 18:29, Peter Robertson wrote:
> I have an nfs export: /mnt/Backup Hostname(no_root_squash,ro,mp)
> It exports this drive, LABEL=Backup /mnt/Backup
> btrfs noatime,compress-force=zstd:99
>
> I have a locally mounted drive, /mnt/Mirror (LABEL=Mirror
> /mnt/Mirror btrfs compress-force=zstd:99,noatime,nofail)
>
> I mount the nfs share: mount Hostname:/mnt/Backup /mnt/Backup.
>
> I cp a file from one to the other, cp -av
> /mnt/Backup/snaps/elden/90/info.xml
> /mnt/Mirror/snaps/elden/90/info.xml.
>
> Under coreutils-9.1 I get no error. Under coreutils-9.2 I get cp:
> preserving permissions for ‘/mnt/Mirror/snaps/elden/90/info.xml’:
> Operation not supported
>
> In both cases the resulting copy looks like this:
>
> # ls -l /mnt/*/snaps/elden/90/info.xml
> -rw------- 1 root root 184 Apr 17 10:52 /mnt/Backup/snaps/elden/90/info.xml
> -rw------- 1 root root 184 Apr 17 10:52 /mnt/Mirror/snaps/elden/90/info.xml
>
> I git bisected with gentoo's live ebuild coreutils-9999
> # first bad commit: [28a85116feef1f9a6f31c5ab8cfe50d7aa8d6fc4] build:
> update gnulib submodule to latest
>
> # cp --version
> cp (GNU coreutils) 9.2
> Packaged by Gentoo (9.2-r2 (p0))
> Copyright (C) 2023 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.
>
> Reproducible: Always
This may be related to:
https://bugzilla.redhat.com/show_bug.cgi?id=2160675
cheers,
Pádraig
This bug report was last modified 1 year and 155 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.