Re: cp -p fails from zfs file system to other file system
From:
Jim Meyering
Subject:
Re: cp -p fails from zfs file system to other file system
Date:
Thu, 26 Jun 2008 08:53:27 +0200
Fabrizio Gabbiani <address@hidden> wrote:
> To whom it may concern:
>
> If I do a
>
> cp -p /zfs_nfs_mountpoint/sourcefile /localdirectory/targetfile
>
> the command returns an error in spite of successfully copying the
> file. The zfs_nfs_mountpoint is a ZFS file system that is NFS
> mounted. The localdirectory is not ZFS.
>
> The error message is:
>
> cp: preserving permissions for `/localdirectory/targetfile': Operation
> not supported
>
> It seems that cp should not return an error, since the permissions are
> defined differently in ZFS and non-ZFS file systems.
Thanks for the report.
With what version of coreutils was that?
If it wasn't the latest snapshot, please try this:
http://meyering.net/cu/coreutils-ss.tar.gz 8.8 MB
http://meyering.net/cu/coreutils-ss.tar.lzma 3.7 MB
If the problem persists, please tell us about your systems
and include a syscall trace of the failing command (use strace on Linux,
truss on some other systems, ktrace, etc.).