Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325779 - sys-apps/coreutils-8.4: cp -a does not copy extended attributes when compiled with 'xattr' use flag
Summary: sys-apps/coreutils-8.4: cp -a does not copy extended attributes when compiled...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 23:37 UTC by academicsam@gmail.com
Modified: 2010-06-28 23:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,3.29 KB, text/plain)
2010-06-26 23:39 UTC, academicsam@gmail.com
Details
Build log (build.log,53.56 KB, text/plain)
2010-06-27 12:20 UTC, academicsam@gmail.com
Details
config.log (config.log,1.80 MB, text/plain)
2010-06-27 12:20 UTC, academicsam@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description academicsam@gmail.com 2010-06-26 23:37:43 UTC
coreutils was emerged with the use flag 'xattr'.

host # cp -a --preserve=xattr file1 file2
cp: cannot preserve extended attributes, cp is built without xattr support

I've checked the config.h files and the USE_XATTR flag seems to be enabled.
Comment 1 academicsam@gmail.com 2010-06-26 23:39:31 UTC
Created attachment 236687 [details]
emerge --info
Comment 2 Rafał Mużyło 2010-06-27 00:42:32 UTC
Attach build log and config.log of coreutils.
Comment 3 academicsam@gmail.com 2010-06-27 12:20:10 UTC
Created attachment 236723 [details]
Build log
Comment 4 academicsam@gmail.com 2010-06-27 12:20:57 UTC
Created attachment 236725 [details]
config.log
Comment 5 academicsam@gmail.com 2010-06-27 12:24:56 UTC
File system is mounted with user_xattr option. Setting and querying extended attributes work as expected. rsync compiled with xattr copies the attributes correctly when invoked with -X
Comment 6 Rafał Mużyło 2010-06-27 16:43:29 UTC
It's fixed upstream in 8.5 - there was a bug in m4/xattr.m4