Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93348 - acl+coreutils: cp'ing Beagle indexed files to non-Linux partition fails.
Summary: acl+coreutils: cp'ing Beagle indexed files to non-Linux partition fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 93389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-20 10:49 UTC by Doug Goldstein (RETIRED)
Modified: 2005-05-20 18:35 UTC (History)
2 users (show)

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


Attachments
attr_copy_file-suppress-warning.patch (attr_copy_file-suppress-warning.patch,685 bytes, patch)
2005-05-20 11:12 UTC, Doug Goldstein (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2005-05-20 10:49:28 UTC
If a user runs Beagle on their system and Beagle indexes a file, if you try to copy that file to say a FAT formated USB Disk (as most are), the copy will fail and give a bunch of errors. Robert Love has a proposed patch for attr which I'm including here.

Instead of

        $ cp x /var/tmp
        cp: setting attribute `user.Beagle.Uid' for `/var/tmp/x':
        Operation not supported
        cp: setting attribute `user.Beagle.MTime' for `/var/tmp/x':
        Operation not supported
        cp: setting attribute `user.Beagle.IndexTime' for `/var/tmp/x':
        Operation not supported
        cp: setting attribute `user.Beagle.Fingerprint' for
        `/var/tmp/x': Operation not supported

I fixed it.  We now have

        $ cp x /var/tmp
        cp: Metadata will be lost, setting attributes for `/var/tmp/x':
        Operation not supported

Looks like attr is only pulled into coreutils with the acl USE flag... even though attr is used for more then just ACLs... but oh well.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-05-20 11:12:25 UTC
Created attachment 59395 [details, diff]
attr_copy_file-suppress-warning.patch
Comment 2 SpanKY gentoo-dev 2005-05-20 18:11:30 UTC
*** Bug 93389 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2005-05-20 18:35:47 UTC
added to attr-2.4.19-r1