cp -p fails from zfs file system to other file system
From:
Fabrizio Gabbiani
Subject:
cp -p fails from zfs file system to other file system
Date:
Wed, 25 Jun 2008 18:04:46 -0500
User-agent:
Thunderbird 2.0.0.4 (X11/20070604)
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.
--
Fabrizio Gabbiani phone: (713) 798 1849
Department of Neuroscience fax: (713) 798 3946
Baylor College of Medicine email: address@hidden
One Baylor Plaza, web: glab.bcm.tmc.edu
Houston, TX 77030