Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Copy error - "One or more items in "x" can't be changed because they are in use.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="henin" data-source="post: 1426685" data-attributes="member: 249067"><p><strong>Extended attributes</strong></p><p></p><p>I was having trouble copying some files, getting the "One or more items in... can't be changed because they are in use" error. The files were grayed out in the Finder. Did a lot of Googling and found out about Extended file attributes (<a href="http://en.wikipedia.org/wiki/Extended_file_attributes" target="_blank">Extended file attributes - Wikipedia, the free encyclopedia</a>) and xattr (<a href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xattr.1.html" target="_blank">Loading…</a>). Upshot: If you ls a file in Terminal and the permissions list ends with "@", the file has extended attributes. If you ls the file again with the "-l@" flag, you will see the names and values of the extended attributes. In my case, it was the com.apple.FinderInfo attribute that was causing the problem. Deleted the attribute with "xattr -d com.apple.FinderInfo [filename]" on each file and everything was hunky dory. NB: Extended attributes can also store resources or essential metadata, so don't delete them willy nilly. It's always safe to delete com.apple.FinderInfo.</p><p></p><p>Posting this to my top few hits so others won't have to spend as much time on this as I have.</p></blockquote><p></p>
[QUOTE="henin, post: 1426685, member: 249067"] [b]Extended attributes[/b] I was having trouble copying some files, getting the "One or more items in... can't be changed because they are in use" error. The files were grayed out in the Finder. Did a lot of Googling and found out about Extended file attributes ([url=http://en.wikipedia.org/wiki/Extended_file_attributes]Extended file attributes - Wikipedia, the free encyclopedia[/url]) and xattr ([url=http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xattr.1.html]Loading…[/url]). Upshot: If you ls a file in Terminal and the permissions list ends with "@", the file has extended attributes. If you ls the file again with the "-l@" flag, you will see the names and values of the extended attributes. In my case, it was the com.apple.FinderInfo attribute that was causing the problem. Deleted the attribute with "xattr -d com.apple.FinderInfo [filename]" on each file and everything was hunky dory. NB: Extended attributes can also store resources or essential metadata, so don't delete them willy nilly. It's always safe to delete com.apple.FinderInfo. Posting this to my top few hits so others won't have to spend as much time on this as I have. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Copy error - "One or more items in "x" can't be changed because they are in use.
Top